Método IVsWritableSettingsStore.GetUnsignedIntOrDefault (String, String, UInt32, UInt32)

 

Publicado: abril de 2016

Retorna uma propriedade de inteiro não assinado ou um valor padrão fornecido.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (em Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Sintaxe

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

Parâmetros

  • collectionPath
    [in] O caminho da coleção.
  • propertyName
    [in] O nome da propriedade.
  • defaultValue
    [in] Valor a ser retornado se a propriedade não está definida.
  • value
    [out] O valor.

Valor de retorno

Type: System.Int32

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.

Implementações

IVsSettingsStore.GetUnsignedIntOrDefault(String, String, UInt32, UInt32)

Consulte também

Interface IVsWritableSettingsStore
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo