GetPreference MethodSave PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedAug 21, 20261 minute readHMI and SCADAOperations Management Interface 2026 Gets the preference value.Syntax Visual BasicC#C++/CLI 'Declaration Function GetPreference( _ ByVal name As String _ ) As Object object GetPreference( string name ) Object^ GetPreference( String^ name ) Parametersname name of the preference Return Valuevalue of the preferenceRequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceIPreference InterfaceIPreference Members In This Topic
Gets the preference value.Syntax Visual BasicC#C++/CLI 'Declaration Function GetPreference( _ ByVal name As String _ ) As Object object GetPreference( string name ) Object^ GetPreference( String^ name ) Parametersname name of the preference Return Valuevalue of the preferenceRequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceIPreference InterfaceIPreference Members
Gets the preference value.Syntax Visual BasicC#C++/CLI 'Declaration Function GetPreference( _ ByVal name As String _ ) As Object object GetPreference( string name ) Object^ GetPreference( String^ name ) Parametersname name of the preference Return Valuevalue of the preferenceRequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceIPreference InterfaceIPreference Members
Gets the preference value.Syntax Visual BasicC#C++/CLI 'Declaration Function GetPreference( _ ByVal name As String _ ) As Object object GetPreference( string name ) Object^ GetPreference( String^ name ) Parametersname name of the preference Return Valuevalue of the preferenceRequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceIPreference InterfaceIPreference Members