SettingsStore.GetUInt32 Método

Definição

Sobrecargas

GetUInt32(String, String)

Retorna o valor da propriedade solicitada cujo tipo de dados é SettingsType.Int32 .

GetUInt32(String, String, UInt32)

Retorna o valor da propriedade solicitada cujo tipo de dados é SettingsType.Int32 .

GetUInt32(String, String)

Retorna o valor da propriedade solicitada cujo tipo de dados é SettingsType.Int32 .

public:
 abstract System::UInt32 GetUInt32(System::String ^ collectionPath, System::String ^ propertyName);
public:
 abstract unsigned int GetUInt32(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 abstract unsigned int GetUInt32(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract uint GetUInt32 (string collectionPath, string propertyName);
abstract member GetUInt32 : string * string -> uint32
Public MustOverride Function GetUInt32 (collectionPath As String, propertyName As String) As UInteger

Parâmetros

collectionPath
String

Caminho da coleção da propriedade.

propertyName
String

Nome da propriedade.

Retornos

UInt32

Valor da propriedade. Se o valor tiver sido armazenado como um inteiro assinado anteriormente, a semântica de conversão de tipo regular se aplicará.

Exceções

Gera essa exceção se a propriedade for de um tipo diferente ou se ela não existir.

Aplica-se a

GetUInt32(String, String, UInt32)

Retorna o valor da propriedade solicitada cujo tipo de dados é SettingsType.Int32 .

public:
 abstract System::UInt32 GetUInt32(System::String ^ collectionPath, System::String ^ propertyName, System::UInt32 defaultValue);
public:
 abstract unsigned int GetUInt32(Platform::String ^ collectionPath, Platform::String ^ propertyName, unsigned int defaultValue);
 abstract unsigned int GetUInt32(std::wstring const & collectionPath, std::wstring const & propertyName, unsigned int defaultValue);
public abstract uint GetUInt32 (string collectionPath, string propertyName, uint defaultValue);
abstract member GetUInt32 : string * string * uint32 -> uint32
Public MustOverride Function GetUInt32 (collectionPath As String, propertyName As String, defaultValue As UInteger) As UInteger

Parâmetros

collectionPath
String

Caminho da coleção da propriedade.

propertyName
String

Nome da propriedade.

defaultValue
UInt32

Valor a ser retornado se a propriedade não existir.

Retornos

UInt32

Se a propriedade não existir, ela retornará o defaultValue passado. Se o valor tiver sido armazenado como um inteiro assinado anteriormente, a semântica de conversão de tipo regular se aplicará.

Exceções

Gera essa exceção se a propriedade for de um tipo diferente.

Aplica-se a