Class CountAttribute
Used to indicate how to calculate the count/length of a parameter.
Only one of Parameter, Count, or Computed should be set.
Implements
Inherited Members
Namespace: OpenTK
Assembly: OpenTK.dll
Syntax
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
public sealed class CountAttribute : Attribute, _Attribute
Constructors
CountAttribute()
Constructs a new CountAttribute instance.
Declaration
public CountAttribute()
Fields
Computed
Specifies a computed count based on other parameters.
Declaration
public string Computed
Field Value
Type | Description |
---|---|
String |
Count
Specifies a fixed count.
Declaration
public int Count
Field Value
Type | Description |
---|---|
Int32 |
Parameter
Specifies another parameter to look at for the count of this parameter.
Declaration
public string Parameter
Field Value
Type | Description |
---|---|
String |