ComponentOne Bitmap for UWP
Item Property (Vector4)

C1.UWP.DX Assembly > C1.Util.DX Namespace > Vector4 Structure : Item Property
The index of the component to access. Use 0 for the X component, 1 for the Y component, 2 for the Z component, and 3 for the W component.
Gets or sets the component at the specified index.
Syntax
'Declaration
 
Public Default Property Item( _
   ByVal index As System.Integer _
) As System.Single
public System.float this[ 
   System.int index
]; {get; set;}

Parameters

index
The index of the component to access. Use 0 for the X component, 1 for the Y component, 2 for the Z component, and 3 for the W component.

Property Value

The value of the X, Y, Z, or W component, depending on the index.The value of the component at the specified index.
Exceptions
ExceptionDescription
Thrown when the index is out of the range [0, 3].
See Also

Reference

Vector4 Structure
Vector4 Members