共用方式為


GetText 方法

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function GetText ( _
    name As String _
) As String
'用途
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

參數

傳回值

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