EnumValueAttribute Class

Summary

Specifies a value to be associated with an enumeration.

Syntax
C#
VB
C++
[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   

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.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly