AVEVA OMI Software Developer Kit



name of the preference
GetPreference Method
Gets the preference value.
Syntax
'Declaration
 
Function GetPreference( _
   ByVal name As String _
) As Object
'Usage
 
Dim instance As IPreference
Dim name As String
Dim value As Object
 
value = instance.GetPreference(name)
object GetPreference( 
   string name
)
Object^ GetPreference( 
   String^ name
) 

Parameters

name
name of the preference

Return 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