Metoda IVsWritableSettingsStore.GetInt — (String, String, Int32)
Zwraca wartość całkowitą typu właściwości.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int GetInt(
string collectionPath,
string propertyName,
out int value
)
int GetInt(
String^ collectionPath,
String^ propertyName,
[OutAttribute] int% value
)
abstract GetInt :
collectionPath:string *
propertyName:string *
value:int byref -> int
Function GetInt (
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 interger.
Implementuje
IVsSettingsStore.GetInt(String, String, Int32)
Uwagi
Jeśli właściwość została zapisana bez znaku regularnych 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