Autodesk Vault ProfessionalVault API

Get(String,String,String) Method

Autodesk.DataManagement.Client.Framework.Forms.ServicesIApplicationPreferencesService

Gets the value for a string application preference.

Syntax

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

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