ArcFM Solution Developer Guide
TryAddObject Method (ObjectStoreCollection)


Version: 10.2.1a

Resource Center Home

Key to set/get the item
an object
Syntax
'Declaration
 
Public Function TryAddObject( _
   ByVal key As System.String, _
   ByVal item As System.Object _
) As System.Boolean
'Usage
 
Dim instance As ObjectStoreCollection
Dim key As System.String
Dim item As System.Object
Dim value As System.Boolean
 
value = instance.TryAddObject(key, item)
public System.bool TryAddObject( 
   System.string key,
   System.object item
)

Parameters

key
Key to set/get the item
item
an object

Return Value

False if the object is already in the list
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ObjectStoreCollection Class
ObjectStoreCollection Members

 

 


Send Comment