Freigeben über


Item-Eigenschaft (String)

Gets the Annotation, with the specified name, from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Annotation
    Get
'Usage
Dim instance As AnnotationCollection
Dim name As String
Dim value As Annotation

value = instance(name)
public Annotation this[
    string name
] { get; }
public:
property Annotation^ default[String^ name] {
    Annotation^ get (String^ name);
}
member Item : Annotation
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftenwert

Typ: Microsoft.AnalysisServices. . :: . .Annotation
The Annotation specified by name.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

name is a null reference (Nothing in Visual Basic).

ItemNotFoundException

name does not exist in the collection.