AnnotationCollection 클래스

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

상속 계층

System.Object
  Microsoft.AnalysisServices.AnnotationCollection

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

구문

‘선언
<GuidAttribute("660FA3D1-97B1-4c33-86AF-8F4381D4317E")> _
Public NotInheritable Class AnnotationCollection _
    Implements IList, ICollection, IEnumerable
‘사용 방법
Dim instance As AnnotationCollection
[GuidAttribute("660FA3D1-97B1-4c33-86AF-8F4381D4317E")]
public sealed class AnnotationCollection : IList, 
    ICollection, IEnumerable
[GuidAttribute(L"660FA3D1-97B1-4c33-86AF-8F4381D4317E")]
public ref class AnnotationCollection sealed : IList, 
    ICollection, IEnumerable
[<SealedAttribute>]
[<GuidAttribute("660FA3D1-97B1-4c33-86AF-8F4381D4317E")>]
type AnnotationCollection =  
    class 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public final class AnnotationCollection implements IList, ICollection, IEnumerable

AnnotationCollection 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 AnnotationCollection Initializes a new instance of Annotation.

맨 위로 이동

속성

  이름 설명
공용 속성 Count Gets the number of Annotation objects contained in the collection.
공용 속성 Item[Int32] Gets the Annotation at the specified index from the collection.
공용 속성 Item[String] Gets the Annotation, with the specified name, from the collection.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add(Annotation) Adds an Annotation to the end of the collection.
공용 메서드 Add(String, String) Creates and adds an Annotation, with the specified name and value, to the end of the collection.
공용 메서드 Clear Removes all elements from the collection.
공용 메서드 Contains(String) Indicates whether the collection contains an Annotation with the specified name.
공용 메서드 Contains(Annotation) Indicates whether the collection contains a specified Annotation.
공용 메서드 CopyTo(AnnotationCollection) Copies the entire collection to the end of an AnnotationCollection.
공용 메서드 CopyTo(Array, Int32) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 Find Gets the Annotation, with the specified name, from the collection.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetText Gets the value of the Annotation, with the specified name.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 IndexOf(String) Gets the index of an Annotation with the specified name.
공용 메서드 IndexOf(Annotation) Gets the index of a specified Annotation.
공용 메서드 Insert(Int32, Annotation) Inserts an Annotation into the collection at the specified index.
공용 메서드 Insert(Int32, String, String) Creates and inserts an Annotation, with the specified name and value, into the collection at the specified index.
공용 메서드 Remove(String) Removes the Annotation, with the specified name, from the collection.
공용 메서드 Remove(Annotation) Removes the specified Annotation from the collection.
공용 메서드 RemoveAt Removes the Annotation at the specified index from the collection.
공용 메서드 SetText(String, Boolean) Sets the Annotation, with the specified name, to a specified Boolean value.
공용 메서드 SetText(String, Int32) Sets the Annotation, with the specified name, to a specified Int32 value.
공용 메서드 SetText(String, String) Sets the Annotation, with the specified name, to a specified String value.
공용 메서드 SetText(String, String, Boolean) Sets the Annotation, with the specified name, to a specified String value. Can also be used to remove a named annotation if it is set to a null reference.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 IList.Add Adds an item to the collection.
명시적 인터페이스 구현전용 메서드 IList.Contains Determines whether the collection contains a specific value.
명시적 인터페이스 구현전용 메서드 IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
명시적 인터페이스 구현전용 메서드 IList.IndexOf Determines the index of the specific item in the collection.
명시적 인터페이스 구현전용 메서드 IList.Insert Inserts an item to the collection at the specified index.
명시적 인터페이스 구현전용 속성 IList.IsFixedSize Gets a value that indicates whether the collection is of fixed size.
명시적 인터페이스 구현전용 속성 IList.IsReadOnly Gets a value that indicates whether the AnnotationCollection is read-only.
명시적 인터페이스 구현전용 속성 ICollection.IsSynchronized Gets a value that indicates whether access to the collection is synchronized (thread safe).
명시적 인터페이스 구현전용 속성 IList.Item Gets the element at the specified index.
명시적 인터페이스 구현전용 메서드 IList.Remove Removes the first occurrence of a specific object from the collection.
명시적 인터페이스 구현전용 속성 ICollection.SyncRoot Gets an object that can be used to synchronize access to the collection.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.AnalysisServices 네임스페이스