Microsoft Identity Integration Server 2003 Developer Reference

TransactionPropertyCollection.Add

The Add method adds a named property to the collection. The specified data is stored with the named property.
[C#]
public void Add(
  String propertyName,
  Object value
);
[Visual Basic .NET]
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 Values

This method has no return values.

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: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

TransactionPropertyCollection