Autodesk Vault ProfessionalVault API

Get(String,String,Int32) Method

Autodesk.DataManagement.Client.Framework.Forms.ServicesIApplicationPreferencesService

Gets the value for an integer application preference.

Syntax

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

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