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.

Constructor Description
DocumentReferenceCollection()

Initializes a new instance of the DocumentReferenceCollection class.

Public Methods

The DocumentReferenceCollection class has the following public methods.

Method Description
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.

Property Description
Count Data type: Int32
Access type: Read-only

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

IsSynchronized Data type: Boolean
Access type: Read-only

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

Item Data type: DocumentReference
Access type: Read-only

Gets the document reference specified by index.

SyncRoot Data 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.

Method Description
Finalize()

MemberwiseClone()

Protected Fields

The DocumentReferenceCollection class defines the following protected field.

Field Description
collection Data 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