Item Propiedad
Gets or sets the specified AdomdRestriction from the collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdRestrictionCollection class.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
Public Default Property Item ( _
index As Integer _
) As AdomdRestriction
Get
Set
'Uso
Dim instance As AdomdRestrictionCollection
Dim index As Integer
Dim value As AdomdRestriction
value = instance(index)
instance(index) = value
public AdomdRestriction this[
int index
] { get; set; }
public:
property AdomdRestriction^ default[int index] {
AdomdRestriction^ get (int index);
void set (int index, AdomdRestriction^ value);
}
member Item : AdomdRestriction with get, set
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- index
Tipo: System. . :: . .Int32
The zero-based index of the AdomdRestriction to find.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdRestriction
The element at the specified index.
Vea también