Click or drag to resize
CSEntryChangeExtensionsGetNewDNOrDefaultT Method
Searches the CSEntryChange for an AttributeChange with the name 'DN', and if found, returns the new value

Namespace: Lithnet.MetadirectoryServices
Assembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax
public static T GetNewDNOrDefault<T>(
	this CSEntryChange csentry
)

Parameters

csentry
Type: CSEntryChange
The CSEntryChange to evaluate

Type Parameters

T
The type of the DN attribute

Return Value

Type: T
The new DN, or default(T) if a DN change was not present

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CSEntryChange. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also