PathSegmentCollection.Item[Int32] Propriedade

Definição

Obtém ou define o PathSegment no índice zero especificado.

public:
 property System::Windows::Media::PathSegment ^ default[int] { System::Windows::Media::PathSegment ^ get(int index); void set(int index, System::Windows::Media::PathSegment ^ value); };
public System.Windows.Media.PathSegment this[int index] { get; set; }
member this.Item(int) : System.Windows.Media.PathSegment with get, set
Default Public Property Item(index As Integer) As PathSegment

Parâmetros

index
Int32

O índice baseado em zero do PathSegment objeto a obter ou definir.

Valor de Propriedade

O item no índice especificado.

Implementações

Exceções

value é null.

index não é um índice válido no PathSegmentCollection.

É PathSegmentCollection só de leitura.

-ou-

Tem PathSegmentCollection um tamanho fixo.

Observações

Ao contrário das implementações típicas de IList<T>.Item[], esta implementação gera um ArgumentException se tentares inserir uma referência nula (Nada).

Aplica-se a

Ver também