Metoda IVsSettingsStore.GetUnsignedIntOrDefault — (String, String, UInt32, UInt32)
Zwraca wartość właściwości liczba całkowita bez znaku lub daną wartość domyślną.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int GetUnsignedIntOrDefault(
string collectionPath,
string propertyName,
uint defaultValue,
out uint value
)
int GetUnsignedIntOrDefault(
String^ collectionPath,
String^ propertyName,
unsigned int defaultValue,
[OutAttribute] unsigned int% value
)
abstract GetUnsignedIntOrDefault :
collectionPath:string *
propertyName:string *
defaultValue:uint32 *
value:uint32 byref -> int
Function GetUnsignedIntOrDefault (
collectionPath As String,
propertyName As String,
defaultValue As UInteger,
<OutAttribute> ByRef value As UInteger
) As Integer
Parametry
- collectionPath
[w] Ścieżka kolekcji.
- propertyName
[w] Nazwa właściwości.
- defaultValue
[w] Wartość zwracana, jeśli właściwość nie jest ustawiona.
- value
[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 liczbą całkowitą bez znaku.
Zobacz też
Interfejs IVsSettingsStore
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku