AnnotationCollection.SetText 메서드 (String, String, Boolean)

Sets the Annotation, with the specified name, to a specified String value. Can also be used to remove a named annotation if it is set to a null reference.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Public Sub SetText ( _
    name As String, _
    text As String, _
    removeIfNull As Boolean _
)
‘사용 방법
Dim instance As AnnotationCollection 
Dim name As String 
Dim text As String 
Dim removeIfNull As Boolean

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

매개 변수

  • removeIfNull
    유형: System.Boolean
    If set to true, removes the Annotation specified in name from the collection if text is set to a null reference (Nothing in Visual Basic); if false, no removal is made.

참고 항목

참조

AnnotationCollection 클래스

SetText 오버로드

Microsoft.AnalysisServices 네임스페이스