CSEntryChangeExtensionsCreateAttributeChangeT Method (CSEntryChange, String, AttributeModificationType, NullableT) |
Creates an AttributeChange of the specified type
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static void CreateAttributeChange<T>(
this CSEntryChange csentry,
string attributeName,
AttributeModificationType modificationType,
Nullable<T> value
)
where T : struct, new()
<ExtensionAttribute>
Public Shared Sub CreateAttributeChange(Of T As {Structure, New}) (
csentry As CSEntryChange,
attributeName As String,
modificationType As AttributeModificationType,
value As Nullable(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
where T : value class, gcnew()
static void CreateAttributeChange(
CSEntryChange^ csentry,
String^ attributeName,
AttributeModificationType modificationType,
Nullable<T> value
)
Parameters
- csentry
- Type: CSEntryChange
The CSEntryChange to add the AttributeChange to - attributeName
- Type: SystemString
The name of the attribute - modificationType
- Type: AttributeModificationType
The type of modification to apply to the attribute - value
- Type: SystemNullableT
The value to apply to the modification operation
Type Parameters
- T
- The type of data
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