ArcFM Engine Developer Guide
TryAddObject Method (ObjectStoreCollection)


Key to set/get the item
an object
Syntax
'Declaration
 
Public Function TryAddObject( _
   ByVal key As String, _
   ByVal item As Object _
) As Boolean
'Usage
 
Dim instance As ObjectStoreCollection
Dim key As String
Dim item As Object
Dim value As Boolean
 
value = instance.TryAddObject(key, item)
public bool TryAddObject( 
   string key,
   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