←Select platform

EnumValueAttribute Class

Summary

Specifies a value to be associated with an enumeration.

Syntax

C#
VB
C++
[AttributeUsageAttribute(ValidOn=AttributeTargets.Field,  
   AllowMultiple=false,  
   Inherited=true)] 
public class EnumValueAttribute : System.Attribute, System.Runtime.InteropServices._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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.Common Assembly
Click or drag to resize