AnnotationCollection.Add 方法 (String, String)
Creates and adds an Annotation, with the specified name and value, to the end of the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function Add ( _
name As String, _
value As String _
) As Annotation
'用途
Dim instance As AnnotationCollection
Dim name As String
Dim value As String
Dim returnValue As Annotation
returnValue = instance.Add(name, value)
public Annotation Add(
string name,
string value
)
public:
Annotation^ Add(
String^ name,
String^ value
)
member Add :
name:string *
value:string -> Annotation
public function Add(
name : String,
value : String
) : Annotation
參數
- name
型別:System.String
The name of the Annotation to be added.
- value
型別:System.String
The value of the Annotation to be added.
傳回值
型別:Microsoft.AnalysisServices.Annotation
The Annotation that was added to the collection.