Share via


SkinInformation.Declaration Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the vertex declaration.

Definition

Visual Basic Public Property Declaration As VertexElement()
C# public VertexElement[] Declaration { get; set; }
C++ public:
property array<VertexElement>^ Declaration {
        array<VertexElement>^ get();
        void set(array<VertexElement>^ value);
}
JScript public function get Declaration() : VertexElement[]
public function set Declaration(VertexElement[]);

Property Value

Microsoft.DirectX.Direct3D.VertexElement[]
Array of VertexElement structures that contain the vertex declarations.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.