[This is preliminary documentation and is subject to change.]
For enumeration this attribute is applied onto indicates which additional values that are not member of enumeration are valid enumeration values
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[AttributeUsageAttribute(AttributeTargets.Enum, AllowMultiple = true)] public class ValuesFromRangeAreValidAttribute : Attribute |
| Visual Basic |
|---|
<AttributeUsageAttribute(AttributeTargets.Enum, AllowMultiple := True)> _ Public Class ValuesFromRangeAreValidAttribute _ Inherits Attribute |
| Visual C++ |
|---|
[AttributeUsageAttribute(AttributeTargets::Enum, AllowMultiple = true)] public ref class ValuesFromRangeAreValidAttribute : public Attribute |
| F# |
|---|
[<AttributeUsageAttribute(AttributeTargets.Enum, AllowMultiple = true)>] type ValuesFromRangeAreValidAttribute = class inherit Attribute end |
| JScript |
|---|
public class ValuesFromRangeAreValidAttribute extends Attribute |
Remarks
This attribute can be applied multiple times
Note: This attribute can be nohow enforced. It depends on target where enumeration is passed if it utilizes it.
This attribute canot be used for big values of type UInt64.
Inheritance Hierarchy
System..::..Object
System..::..Attribute
Tools.ComponentModelT..::..ValuesFromRangeAreValidAttribute
System..::..Attribute
Tools.ComponentModelT..::..ValuesFromRangeAreValidAttribute