SetText 方法 (String, String)
Sets the Annotation, with the specified name, to a specified String value.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Sub SetText ( _
name As String, _
text As String _
)
用法
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
)
参数
- name
类型:System. . :: . .String
The name of the Annotation to be added.
- text
类型:System. . :: . .String
The value to be set for the Annotation identified by name.