TransactionPropertyCollection.Add Method
The Add method adds a named property to the collection. The specified data is stored with the named property.
Syntax
public void Add(
String propertyName,
Object value
);
Public Sub Add( _
ByVal propertyName As String, _
ByVal value As Object _
)
Parameters
propertyName
Contains the name of the property to add. The name is not case-sensitive.value
Contains an Object that contains the data that will be set for the new property. This object must be serializable.
Return Value
This method does not return a value.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The propertyName or value parameter is null. |
SerializationException | The object identified by the value parameter cannot be serialized. |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
Send comments about this topic to Microsoft
Build date: 2/16/2009