IVsSettingsStore.GetBool(String, String, Int32) 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.
Retourne une propriété de type booléen.
public:
int GetBool(System::String ^ collectionPath, System::String ^ propertyName, [Runtime::InteropServices::Out] int % value);
int GetBool(std::wstring const & collectionPath, std::wstring const & propertyName, [Runtime::InteropServices::Out] int & value);
public int GetBool (string collectionPath, string propertyName, out int value);
abstract member GetBool : string * string * -> int
Public Function GetBool (collectionPath As String, propertyName As String, ByRef value As Integer) As Integer
Paramètres
- collectionPath
- String
[in] Chemin d'accès de la collection.
- propertyName
- String
[in] Nom de la propriété.
- value
- Int32
[out] Valeur.
Retours
Retourne S_OK si la propriété est retournée, S_FALSE si la propriété n'existe pas ou E_INVALIDARG si le type de propriété n'est pas booléen.
Remarques
Si la propriété a été stockée en tant que valeur d’entier signé ou non signé, la sémantique de cast de type C++ standard est appliquée à la valeur de sortie.