DocumentErrorCollection

DocumentErrorCollection

Collection of SDM errors found during compilation.

The DocumentErrorCollection class implements the following interfaces:

Public Constructors

The DocumentErrorCollection class has the following public constructor.

Constructor Description
DocumentErrorCollection()

Initializes a new DocumentErrorCollection.

Public Methods

The DocumentErrorCollection class has the following public methods.

Method Description
Contains(Object)

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

CopyTo(Array, Int32)

Copies all of the document error 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 error 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).

ToString()

Public Properties

The DocumentErrorCollection 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 error collection.

IsSynchronized Data type: Boolean
Access type: Read-only

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

Item Data type: DocumentError
Access type: Read-only

Gets a single DocumentError in a collection of document errors.

SyncRoot Data type: Object
Access type: Read-only

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

Protected Methods

The DocumentErrorCollection class has the following protected methods.

Method Description
Finalize()

MemberwiseClone()

Protected Fields

The DocumentErrorCollection class defines the following protected field.

Field Description
collection Data type: ArrayList
Access type: Read/write

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