IVsSettingsStore.GetUnsignedIntOrDefault(String, String, UInt32, UInt32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Retorna uma propriedade de inteiro sem sinal ou um valor padrão fornecido.
public:
int GetUnsignedIntOrDefault(System::String ^ collectionPath, System::String ^ propertyName, System::UInt32 defaultValue, [Runtime::InteropServices::Out] System::UInt32 % value);
int GetUnsignedIntOrDefault(std::wstring const & collectionPath, std::wstring const & propertyName, unsigned int defaultValue, [Runtime::InteropServices::Out] unsigned int & value);
public int GetUnsignedIntOrDefault (string collectionPath, string propertyName, uint defaultValue, out uint value);
abstract member GetUnsignedIntOrDefault : string * string * uint32 * -> int
Public Function GetUnsignedIntOrDefault (collectionPath As String, propertyName As String, defaultValue As UInteger, ByRef value As UInteger) As Integer
Parâmetros
- collectionPath
- String
no O caminho da coleção.
- propertyName
- String
no O nome da propriedade.
- defaultValue
- UInt32
no O valor a ser retornado se a propriedade não estiver definida.
- value
- UInt32
fora O valor.
Retornos
Retorna S_OK se a propriedade foi retornada, S_FALSE se a propriedade não existir ou E_INVALIDARG se o tipo de propriedade não for um inteiro sem sinal.