Delen via


AnnotationCollection.SetText Method (String, String)

Sets the Annotation, with the specified name, to a specified String value.

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

Syntax

'Declaration
Public Sub SetText ( _
    name As String, _
    text As String _
)
'Usage
Dim instance As AnnotationCollection
Dim name As String
Dim text As String

instance.SetText(name, text)
public void SetText(
    string name,
    string text
)
public:
void SetText(
    String^ name, 
    String^ text
)
member SetText : 
        name:string * 
        text:string -> unit 
public function SetText(
    name : String, 
    text : String
)

Parameters