Specifies a value to be associated with an enumeration.
[AttributeUsageAttribute(System.AttributeTargets)]
public class EnumValueAttribute : Attribute
<AttributeUsageAttribute(ValidOn=AttributeTargets.Field,
AllowMultiple=False,
Inherited=True)>
Public Class EnumValueAttribute
Inherits System.Attribute
Implements System.Runtime.InteropServices._Attribute
[AttributeUsageAttribute(ValidOn=AttributeTargets.Field,
AllowMultiple=false,
Inherited=true)]
public ref class EnumValueAttribute : public System.Attribute, System.Runtime.InteropServices._Attribute
If an enumeration value has the EnumValueAttribute, then the value in the attribute will be used to insert data into the dataset. The actual enumeration field value will be ignored.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document