Прочетете на английски Редактиране

Споделяне чрез


Vector4.Item[Int32] Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the element at the specified index.

C#
public float this[int index] { get; set; }

Parameters

index
Int32

The index of the element to get or set.

Property Value

The the element at index.

Exceptions

index was less than zero or greater than the number of elements.

Applies to

Продукт Версии
.NET 7, 8, 9, 10