DsmlResponseDocument DsmlResponseDocument DsmlResponseDocument DsmlResponseDocument Class

Definition

The DsmlResponseDocument class is a read-only collection generated as a response to a DsmlRequestDocument object that contains zero, or more, objects derived from DirectoryResponse.

public ref class DsmlResponseDocument : System::DirectoryServices::Protocols::DsmlDocument, System::Collections::ICollection
public class DsmlResponseDocument : System.DirectoryServices.Protocols.DsmlDocument, System.Collections.ICollection
type DsmlResponseDocument = class
    inherit DsmlDocument
    interface ICollection
    interface IEnumerable
Public Class DsmlResponseDocument
Inherits DsmlDocument
Implements ICollection
Inheritance
DsmlResponseDocumentDsmlResponseDocumentDsmlResponseDocumentDsmlResponseDocument
Implements

Properties

Count Count Count Count

The Count property contains the number of DirectoryResponse objects in this collection.

IsErrorResponse IsErrorResponse IsErrorResponse IsErrorResponse

The IsErrorResponse property specifies whether an error response has occurred.

IsOperationError IsOperationError IsOperationError IsOperationError

The IsOperationError property specifies whether an operation error response has occurred.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

The IsSynchronized property contains a value that indicates whether access to the DsmlResponseDocument is synchronized (thread-safe).

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

The Item[Int32] property contains the DirectoryResponse object at the specified index.

RequestId RequestId RequestId RequestId

The RequestId property contains the RequestID associated with the document.

SyncRoot SyncRoot SyncRoot SyncRoot

The SyncRoot property contains an object that can be used to synchronize access to the DsmlResponseDocument.

Methods

CopyTo(DirectoryResponse[], Int32) CopyTo(DirectoryResponse[], Int32) CopyTo(DirectoryResponse[], Int32) CopyTo(DirectoryResponse[], Int32)

The CopyTo(DirectoryResponse[], Int32) method copies the entire collection to a one-dimensional array, starting at the specified index of the target array.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

The GetEnumerator() method returns an enumerator for the entire DsmlResponseDocument collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ToXml() ToXml() ToXml() ToXml()

The ToXml() method transforms each DirectoryResponse object in the collection into an XmlDocument object.

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

Copies the entire DsmlResponseDocument collection to a one-dimensional array, starting at the specified index of the target array.

ICollection.Count ICollection.Count ICollection.Count ICollection.Count

Gets the number of DirectoryResponse objects in this collection.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

Gets a value that indicates whether access to the DsmlResponseDocument is synchronized (thread-safe).

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

Gets an object that can be used to synchronize access to the DsmlResponseDocument.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to