Autodesk Vault ProfessionalVault API

Get(String,String,Boolean) Method

Autodesk.DataManagement.Client.Framework.Forms.ServicesIApplicationPreferencesService

Gets the value for a boolean application preference.

Syntax

System.bool Get(
   System.string categoryName,
   System.string prefName,
   System.bool defaultValue
)
Overloads Function Get( _
   ByVal categoryName As System.String, _
   ByVal prefName As System.String, _
   ByVal defaultValue As System.Boolean _
) As System.Boolean

Parameters

NameDescription
categoryNameThe category that this preference is bucketed under. This should not be null or empty.
prefNameThe name of the preference that we are getting.
defaultValueThe value to retrurn if the prefernece does not exist.

Return Value

The value of the preference. If the preference does not exist, the value of defaultValue will be returned.

See Also