JAMS Developer Guide
SetProperty Method


Genghis Namespace > Preferences Class : SetProperty Method
The property name.
Use slash (/) to logically separate groups of settings.
The property value.
Sets a property
Syntax
'Declaration
 
Public Sub SetProperty( _
   ByVal name As System.String, _
   ByVal value As System.Object _
) 
'Usage
 
Dim instance As Preferences
Dim name As System.String
Dim value As System.Object
 
instance.SetProperty(name, value)
public void SetProperty( 
   System.string name,
   System.object value
)

Parameters

name
The property name.
Use slash (/) to logically separate groups of settings.
value
The property value.
Remarks
Currently, the value parameter must be a type supported by the System.Convert class. The supported types are: Boolean, Char, SByte, Byte, Int16, Int32, Int64, UInt16, UInt32, UInt64, Single, Double, Decimal, DateTime and String.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Preferences Class
Preferences Members