CSEntryChangeExtensionsCreateAttributeChangeIfInSchema Method (CSEntryChange, SchemaType, String, AttributeModificationType, NullableInt64) |
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,
Nullable<long> value
)
<ExtensionAttribute>
Public Shared Sub CreateAttributeChangeIfInSchema (
csentry As CSEntryChange,
type As SchemaType,
attributeName As String,
modificationType As AttributeModificationType,
value As Nullable(Of Long)
)
public:
[ExtensionAttribute]
static void CreateAttributeChangeIfInSchema(
CSEntryChange^ csentry,
SchemaType^ type,
String^ attributeName,
AttributeModificationType modificationType,
Nullable<long 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: SystemNullableInt64
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