IVsSettingsStore.GetInt(String, String, Int32) Método

Definição

Retorna um valor de Propriedade do tipo inteiro.

public:
 int GetInt(System::String ^ collectionPath, System::String ^ propertyName, [Runtime::InteropServices::Out] int % value);
int GetInt(std::wstring const & collectionPath, std::wstring const & propertyName, [Runtime::InteropServices::Out] int & value);
public int GetInt (string collectionPath, string propertyName, out int value);
abstract member GetInt : string * string *  -> int
Public Function GetInt (collectionPath As String, propertyName As String, ByRef value As Integer) As Integer

Parâmetros

collectionPath
String

no O caminho da coleção.

propertyName
String

no O nome da propriedade.

value
Int32

fora O valor.

Retornos

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 número inteiro.

Comentários

Se a propriedade tiver sido armazenada como um valor não assinado, a semântica de conversão de tipo C++ regular será aplicada no valor de saída.

Aplica-se a