VectorTypeAttribute Class

Definition

Allows a member to be marked as a VectorDataViewType, primarily allowing one to set the dimensionality of the resulting array.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple=false, Inherited=true)]
public sealed class VectorTypeAttribute : Attribute
type VectorTypeAttribute = class
    inherit Attribute
Public NotInheritable Class VectorTypeAttribute
Inherits Attribute
Inheritance
VectorTypeAttribute
Attributes

Constructors

VectorTypeAttribute()

Mark member as single-dimensional array with unknown size.

VectorTypeAttribute(Int32)

Mark member as single-dimensional array with specified size.

VectorTypeAttribute(Int32[])

Mark member with expected dimensions of array.

Applies to