Metoda IVsWritableSettingsStore.GetBool — (String, String, Int32)
Zwraca właściwość typu boolean.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int GetBool(
string collectionPath,
string propertyName,
out int value
)
int GetBool(
String^ collectionPath,
String^ propertyName,
[OutAttribute] int% value
)
abstract GetBool :
collectionPath:string *
propertyName:string *
value:int byref -> int
Function GetBool (
collectionPath As String,
propertyName As String,
<OutAttribute> ByRef value As Integer
) As Integer
Parametry
collectionPath
Type: System.String[in] Ścieżka kolekcji.
propertyName
Type: System.String[in] Nazwa właściwości.
value
Type: System.Int32[out] Wartość.
Wartość zwracana
Type: System.Int32
Zwraca S_OK Jeśli właściwość został zwrócony, S_FALSE Jeśli właściwość nie istnieje lub E_INVALIDARG Jeśli typ właściwości nie jest wartością logiczną.
Implementuje
IVsSettingsStore.GetBool(String, String, Int32)
Uwagi
Jeśli właściwość została zapisana jako wartość całkowitą znakiem lub bez znaku, regularne semantyka rzutowanie typów C++ są stosowane na wartość danych wyjściowych.
Zobacz też
Interfejs IVsWritableSettingsStore
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku