Item Propiedad (String)
Gets the Annotation, with the specified name, from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As Annotation
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System. . :: . .String
The name of the Annotation to be returned.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices. . :: . .Annotation
The Annotation specified by name.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |