Метод 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.