Propriedade Item (String)
Gets the Annotation, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System. . :: . .String
The name of the Annotation to be returned.
Valor da propriedade
Tipo: Microsoft.AnalysisServices. . :: . .Annotation
The Annotation specified by name.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |
Consulte também