Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
EnumValueAttribute Class
See Also  Members  
Leadtools.Dicom.Common.Extensions Namespace : EnumValueAttribute Class



Specifies a value to be associated with an enumeration.

Object Model

EnumValueAttribute Class

Syntax

Visual Basic (Declaration) 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Field, 
   AllowMultiple=False, 
   Inherited=True)>
Public Class EnumValueAttribute 
   Inherits System.Attribute
   Implements _Attribute 
Visual Basic (Usage)Copy Code
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  

Remarks

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.

Inheritance Hierarchy

System.Object
   System.Attribute
      Leadtools.Dicom.Common.Extensions.EnumValueAttribute

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features