Click or drag to resize
CSEntryChangeExtensionsCreateAttributeChangeIfInSchema Method (CSEntryChange, SchemaType, String, AttributeModificationType, Int64)
Creates an AttributeChange of the specified type, provided that the attribute is present in the provided schema type

Namespace: Lithnet.MetadirectoryServices
Assembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax
public static void CreateAttributeChangeIfInSchema(
	this CSEntryChange csentry,
	SchemaType type,
	string attributeName,
	AttributeModificationType modificationType,
	long value
)

Parameters

csentry
Type: CSEntryChange
The CSEntryChange to add the AttributeChange to
type
Type: SchemaType
The schema type of the object class of the CSEntryChange
attributeName
Type: SystemString
The name of the attribute
modificationType
Type: AttributeModificationType
The type of modification to apply to the attribute
value
Type: SystemInt64
The value to apply to the modification operation

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