TransactionPropertyCollection.Item Property
The Item property retrieves or sets the data for a specific property in the collection.
public Object this[
String propertyName
] {get; set;}
Public Property Item( _
ByVal propertyName As String _
) As Object
Parameters
- propertyName
Contains the name of the property to retrieve or set. The name is not case-sensitive.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The propertyName or value parameter is null. |
SerializationException | The object identified by the value parameter cannot be serialized. |
Remarks
If this property is being retrieved and the property identified by propertyName is not present in the collection, this property will return null.
If this property is being set and the property identified by propertyName is not present in the collection, the property will be added to the collection.
Setting an item in the collection to a null object will cause the item to be removed from the collection.
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