Chili.Opf3 Send comments on this topic.
AddOrSet Method
See Also 
Chili.Opf3.DynamicProperties Namespace > DynamicPropertiesCollection Class : AddOrSet Method




type
The type of the DynamicProperty.
id
Identifier of the DynamicProperty.
value
Value of the DynamicProperty.
Sets the value of element with the specified Identifier. If the elements dosent't exist create it

Syntax

Visual Basic (Declaration) 
Public Function AddOrSet( _
   ByVal type As Type, _
   ByVal id As String, _
   ByVal value As Object _
) As DynamicProperty
Visual Basic (Usage)Copy Code
Dim instance As DynamicPropertiesCollection
Dim type As Type
Dim id As String
Dim value As Object
Dim value As DynamicProperty
 
value = instance.AddOrSet(type, id, value)
C# 
public DynamicProperty AddOrSet( 
   Type type,
   string id,
   object value
)
Managed Extensions for C++ 
public: DynamicProperty* AddOrSet( 
   Type* type,
   string* id,
   Object* value
) 
C++/CLI 
public:
DynamicProperty^ AddOrSet( 
   Type^ type,
   String^ id,
   Object^ value
) 

Parameters

type
The type of the DynamicProperty.
id
Identifier of the DynamicProperty.
value
Value of the DynamicProperty.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also