CSEntryChangeExtensionsCreateAttributeChangeIfInSchema Method (CSEntryChange, SchemaType, String, AttributeModificationType, IListValueChange) |
Creates an AttributeChange of the specified type, provided that the attribute is present in the provided schema type
Namespace: Lithnet.MetadirectoryServicesAssembly: 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,
IList<ValueChange> valueChanges
)
<ExtensionAttribute>
Public Shared Sub CreateAttributeChangeIfInSchema (
csentry As CSEntryChange,
type As SchemaType,
attributeName As String,
modificationType As AttributeModificationType,
valueChanges As IList(Of ValueChange)
)
public:
[ExtensionAttribute]
static void CreateAttributeChangeIfInSchema(
CSEntryChange^ csentry,
SchemaType^ type,
String^ attributeName,
AttributeModificationType modificationType,
IList<ValueChange^>^ valueChanges
)
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 - valueChanges
- Type: System.Collections.GenericIListValueChange
The value changes 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