ActivityCollection.IList<Activity>.Item[Int32] Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtém ou define o elemento no índice especificado.
property System::Workflow::ComponentModel::Activity ^ System::Collections::Generic::IList<System::Workflow::ComponentModel::Activity>::Item[int] { System::Workflow::ComponentModel::Activity ^ get(int index); void set(int index, System::Workflow::ComponentModel::Activity ^ value); };
System.Workflow.ComponentModel.Activity System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.Item[int index] { get; set; }
member this.System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.Item(int) : System.Workflow.ComponentModel.Activity with get, set
Property Item(index As Integer) As Activity Implements IList(Of Activity).Item
Parâmetros
- index
- Int32
O índice em base zero do elemento a obter ou definir.
Valor de Propriedade
O Object no índice especificado.
Implementações
Exceções
index não é um índice válido no IList.
É ICollection só de leitura.
Observações
Esta propriedade permite aceder a um elemento específico da coleção utilizando a seguinte sintaxe: myCollection[index].
A linguagem C# usa a this palavra-chave para definir os indexadores em vez de implementar a propriedade Item . Visual Basic implementa Item como propriedade predefinida, que fornece a mesma funcionalidade de indexação.