Metoda IVsWritableSettingsStore.GetUnsignedIntOrDefault — (String, String, UInt32, UInt32)
Zwraca wartość domyślną danego lub właściwości Liczba całkowita bez znaku.
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
Type: System.String[in] Ścieżka kolekcji.
propertyName
Type: System.String[in] Nazwa właściwości.
defaultValue
Type: System.UInt32[in] Wartość zwracana, jeśli nie ustawiono właściwości.
value
Type: System.UInt32[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.
Implementuje
IVsSettingsStore.GetUnsignedIntOrDefault(String, String, UInt32, UInt32)
Zobacz też
Interfejs IVsWritableSettingsStore
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku