Metoda IVsWritableSettingsStore.SetUnsignedInt — (String, String, UInt32)
Ustawia wartość właściwości liczba całkowita bez znaku.Jeśli poprzedni typ danych właściwości nie jest SettingsType_Int, ta metoda zastępuje go.Jeśli właściwość nie istnieje, tworzy jeden.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int SetUnsignedInt(
string collectionPath,
string propertyName,
uint value
)
int SetUnsignedInt(
String^ collectionPath,
String^ propertyName,
unsigned int value
)
abstract SetUnsignedInt :
collectionPath:string *
propertyName:string *
value:uint32 -> int
Function SetUnsignedInt (
collectionPath As String,
propertyName As String,
value As UInteger
) As Integer
Parametry
- collectionPath
[w] Ścieżka do kolekcji.
- propertyName
[w] Właściwość.
- value
[w] Wartość.
Wartość zwracana
Type: System.Int32
Zwraca T:Microsoft.VisualStudio.VSConstants.S_OK , jeśli ustawiono wartość.Jeśli kolekcja nie istnieje, metoda zwraca T:Microsoft.VisualStudio.VSConstants.E_INVALIDARG.
Zobacz też
Interfejs IVsWritableSettingsStore
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku