AVEVA OMI Software Developer Kit



name of the preference
value of the preference
SetPreference Method
Sets the preference value.
Syntax
'Declaration
 
Sub SetPreference( _
   ByVal name As String, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As IPreference
Dim name As String
Dim value As Object
 
instance.SetPreference(name, value)
void SetPreference( 
   string name,
   object value
)
void SetPreference( 
   String^ name,
   Object^ value
) 

Parameters

name
name of the preference
value
value of the preference
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