Click or drag to resize
AttributeChangeExtentionsGetValueAddT Method
Gets the value with a modification type of 'add' in the list of value changes. If multiple value adds are present, an exception is thrown

Namespace: Lithnet.MetadirectoryServices
Assembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax
public static T GetValueAdd<T>(
	this AttributeChange change
)

Parameters

change
Type: AttributeChange
The attribute change

Type Parameters

T
The type of data in the attribute

Return Value

Type: T
The value with a modification type of 'add', or default(T) if no value adds are present

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AttributeChange. 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