PropertySettingsHelper.GetPathValue<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve a value using a path
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T GetPathValue(Microsoft::VisualStudio::Workspace::IPropertySettings ^ settings, ... cli::array <System::String ^> ^ keys);
public static T GetPathValue<T> (this Microsoft.VisualStudio.Workspace.IPropertySettings settings, params string[] keys);
static member GetPathValue : Microsoft.VisualStudio.Workspace.IPropertySettings * string[] -> 'T
<Extension()>
Public Function GetPathValue(Of T) (settings As IPropertySettings, ParamArray keys As String()) As T
Type Parameters
- T
Desired type expected
Parameters
- settings
- IPropertySettings
The input settings instance
- keys
- String[]
Path of keys
Returns
T
The value contained in the settings