Udostępnij za pośrednictwem


Metoda AnnotationCollection.SetText (String, String, Boolean)

Zestawy Annotation, o określonej nazwie do określonego ciąg wartości.Można również usunąć adnotacji nazwane, jeśli jest zestaw do odwołania zerowego.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Sub SetText ( _
    name As String, _
    text As String, _
    removeIfNull As Boolean _
)
'Użycie
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
)

Parametry

  • removeIfNull
    Typ: System.Boolean
    Jeśli zestaw do true, usuwa Annotation określonych w name z kolekcja Jeśli text jest zestaw do odwołania zerowego (nic nie w języku Visual Basic); Jeśli ma wartość FAŁSZ, dokonywana jest bez usuwania.