Share via


AnnotationCollection.GetText Method

Gets the value of the Annotation, with the specified name.

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

Syntax

'Declaration
Public Function GetText ( _
    name As String _
) As String
'Usage
Dim instance As AnnotationCollection
Dim name As String
Dim returnValue As String

returnValue = instance.GetText(name)
public string GetText(
    string name
)
public:
String^ GetText(
    String^ name
)
member GetText : 
        name:string -> string 
public function GetText(
    name : String
) : String

Parameters

Return Value

Type: System.String
The value of the Annotation specified by name, if found in the collection; otherwise, a null reference (Nothing in Visual Basic).