Udostępnij za pośrednictwem


PropertySettingsHelper.GetPathValue<T> Method

Definition

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

Applies to