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

参数

返回值

类型:Microsoft.AnalysisServices.Annotation
The Annotation that was added to the collection.

请参阅

参考

AnnotationCollection 类

Add 重载

Microsoft.AnalysisServices 命名空间