Compartilhar via


Propriedade do RDL Item (String)

Gets the specified Property from the PropertyCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the PropertyCollection class.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As Property
    Get
'Uso
Dim instance As PropertyCollection
Dim name As String
Dim value As [Property]

value = instance(name)
public Property this[
    string name
] { get; }
public:
property Property^ default[String^ name] {
    Property^ get (String^ name);
}
member Item : Property
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros