AnnotationCollection Members

Contains a collection of Annotation objects. This class cannot be inherited.

The following tables list the members exposed by the AnnotationCollection type.

Public Constructors

  名称 Description
AnnotationCollection Initializes a new instance of Annotation.

顶部

Public Properties

  名称 Description
ms161245.pubproperty(zh-cn,SQL.90).gif Count Gets the number of Annotation objects contained in the collection.
ms161245.pubproperty(zh-cn,SQL.90).gif Item Overloaded. Gets the specified Annotation from the collection.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms161245.pubmethod(zh-cn,SQL.90).gif Add Overloaded. Creates and adds an Annotation to the collection.
ms161245.pubmethod(zh-cn,SQL.90).gif Clear Removes all elements from the collection.
ms161245.pubmethod(zh-cn,SQL.90).gif Contains Overloaded. Indicates whether the collection contains an Annotation.
ms161245.pubmethod(zh-cn,SQL.90).gif CopyTo Overloaded. Copies the entire collection to a specified Array or AnnotationCollection.
ms161245.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms161245.pubmethod(zh-cn,SQL.90).gif Find Gets the Annotation, with the specified name, from the collection.
ms161245.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms161245.pubmethod(zh-cn,SQL.90).gif GetText Gets the value of the Annotation, with the specified name.
ms161245.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms161245.pubmethod(zh-cn,SQL.90).gif IndexOf Overloaded. Gets the index of an Annotation.
ms161245.pubmethod(zh-cn,SQL.90).gif Insert Overloaded. Inserts an Annotation into the collection.
ms161245.pubmethod(zh-cn,SQL.90).gifms161245.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms161245.pubmethod(zh-cn,SQL.90).gif Remove Overloaded. Removes a Annotation from the collection.
ms161245.pubmethod(zh-cn,SQL.90).gif RemoveAt Removes the Annotation at the specified index from the collection.
ms161245.pubmethod(zh-cn,SQL.90).gif SetText Overloaded. Sets the Annotation, with the specified name, to a specified value.
ms161245.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms161245.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms161245.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

Explicit Interface Implementations

  名称 Description
System.Collections.IEnumerable.GetEnumerator  
System.Collections.IList.Add  
System.Collections.IList.Contains  
System.Collections.IList.IndexOf  
System.Collections.IList.Insert  
System.Collections.IList.Remove  
System.Collections.ICollection.IsSynchronized  
System.Collections.ICollection.SyncRoot  
System.Collections.IList.IsFixedSize  
System.Collections.IList.IsReadOnly  
System.Collections.IList.Item  

顶部

请参阅

参考

AnnotationCollection Class
Microsoft.AnalysisServices Namespace