Export (0) Print
Expand All

DocumentReferenceCollection

DocumentReferenceCollection

Represents a collection of SDM document references to be used during compilation.

The DocumentReferenceCollection class implements the following interfaces:

Public Constructors

The DocumentReferenceCollection class has the following public constructor.

ConstructorDescription
DocumentReferenceCollection()

Initializes a new instance of the DocumentReferenceCollection class.

Public Methods

The DocumentReferenceCollection class has the following public methods.

MethodDescription
Add(DocumentReference)

Adds the specified document to this DocumentReferenceCollection.

Contains(Object)

Determines whether a specific item is in the document reference collection.

CopyTo(Array, Int32)

Copies all of the document reference collection to a compatible one-dimensional array, starting at the specified index of the target array.

Equals(Object)

Equals(Object, Object)

Static (Shared).

GetEnumerator()

Returns an IEnumerator that can iterate through this document reference collection.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures such as a hash table.

GetType()

ReferenceEquals(Object, Object)

Static (Shared).

Remove(DocumentReference)

Removes the specified document from this collection of document references.

ToString()

Public Properties

The DocumentReferenceCollection class has the following public properties.

PropertyDescription
CountData type: Int32
Access type: Read-only

Gets the number of items actually in the document reference collection.

IsSynchronizedData type: Boolean
Access type: Read-only

Gets a value indicating whether access to the document reference collection is synchronized (thread-safe).

ItemData type: DocumentReference
Access type: Read-only

Gets the document reference specified by index.

SyncRootData type: Object
Access type: Read-only

Gets an object that can be used to synchronize access to the document reference collection.

Protected Methods

The DocumentReferenceCollection class has the following protected methods.

MethodDescription
Finalize()

MemberwiseClone()

Protected Fields

The DocumentReferenceCollection class defines the following protected field.

FieldDescription
collectionData type: ArrayList
Access type: Read/write

Represents an internal collection that contains the data.

Requirements

Namespace

Defined in Microsoft.SystemDefinitionModel.Tools.

Assembly

Requires SdmCompile (in SdmCompile.dll).

.NET Framework

Requires .NET Framework 2.0.

See Also

Microsoft.SystemDefinitionModel.Tools


Send comments about this topic to Microsoft

Build date: 10/2/2007

Community Additions

Show:
© 2014 Microsoft