PropertySettingsHelper.GetPathValue<T>(IPropertySettings, String[]) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Récupérer une valeur à l’aide d’un chemin d’accès
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
Paramètres de type
- T
Type souhaité ATTENDU
Paramètres
- settings
- IPropertySettings
Instance de paramètres d’entrée
- keys
- String[]
Chemin des clés
Retours
- T
Valeur contenue dans les paramètres