Share via


Annotation Constructors

Definition

Overloads

Annotation()

Initializes a new instance of the Annotation class using the default values.

Annotation(String)

Initializes a new instance of the Annotation class using a name.

Annotation(String, String)

Initializes a new instance of Annotation using a name and a value.

Annotation(String, XmlNode)

Initializes a new instance of Annotation using a name and a value as an XmlNode.

Annotation()

Initializes a new instance of the Annotation class using the default values.

public Annotation ();
Public Sub New ()

Applies to

Annotation(String)

Initializes a new instance of the Annotation class using a name.

public Annotation (string name);
new Microsoft.AnalysisServices.Annotation : string -> Microsoft.AnalysisServices.Annotation
Public Sub New (name As String)

Parameters

name
String

A String that contains the name of the Annotation.

Applies to

Annotation(String, String)

Initializes a new instance of Annotation using a name and a value.

public Annotation (string name, string value);
new Microsoft.AnalysisServices.Annotation : string * string -> Microsoft.AnalysisServices.Annotation
Public Sub New (name As String, value As String)

Parameters

name
String

A String that contains the name of the Annotation.

value
String

A String that contains the actual value of the Annotation.

Applies to

Annotation(String, XmlNode)

Initializes a new instance of Annotation using a name and a value as an XmlNode.

public Annotation (string name, System.Xml.XmlNode value);
new Microsoft.AnalysisServices.Annotation : string * System.Xml.XmlNode -> Microsoft.AnalysisServices.Annotation
Public Sub New (name As String, value As XmlNode)

Parameters

name
String

A String that contains the name of the Annotation.

value
XmlNode

The contents of the annotation wrapped in an XmlNode.

Applies to