다음을 통해 공유


Add 메서드 (String, String)

Creates and adds an Annotation, with the specified name and value, to the end of the collection.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices

구문

‘선언
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.