แก้ไข

แชร์ผ่าน


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
DsmlResponseDocument
Implements

Properties

Count

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

IsErrorResponse

The IsErrorResponse property specifies whether an error response has occurred.

IsOperationError

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

IsSynchronized

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

Item[Int32]

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

RequestId

The RequestId property contains the RequestID associated with the document.

SyncRoot

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

Methods

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)

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

(Inherited from Object)
GetEnumerator()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
ToXml()

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

Explicit Interface Implementations

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

Gets the number of DirectoryResponse objects in this collection.

ICollection.IsSynchronized

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

ICollection.SyncRoot

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

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to