![](dotnetdiagramimages/Leadtools_Dicom_Common_Leadtools_Dicom_Common_Extensions_EnumValueAttribute.png)
Visual Basic (Declaration) | |
---|---|
<AttributeUsageAttribute(ValidOn=AttributeTargets.Field, AllowMultiple=False, Inherited=True)> Public Class EnumValueAttribute Inherits System.Attribute Implements _Attribute |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EnumValueAttribute |
C# | |
---|---|
[AttributeUsageAttribute(ValidOn=AttributeTargets.Field, AllowMultiple=false, Inherited=true)] public class EnumValueAttribute : System.Attribute, _Attribute |
C++/CLI | |
---|---|
[AttributeUsageAttribute(ValidOn=AttributeTargets.Field, AllowMultiple=false, Inherited=true)] public ref class EnumValueAttribute : public System.Attribute, _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.
System.Object
System.Attribute
Leadtools.Dicom.Common.Extensions.EnumValueAttribute
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7