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
- name
Typ: System.String
Nazwa Annotation do dodania.
- text
Typ: System.String
Wartość do zestaw dla Annotation identyfikowane przez name.
- 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.
Zobacz także