←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly