IVsHelpAttributeList.GetAttributeStatusVal(String, ATTRVALUETYPE, Int32) 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.
Obtém o status de um valor de atributo.
public:
int GetAttributeStatusVal(System::String ^ bstrValue, Microsoft::VisualStudio::Shell::Interop::ATTRVALUETYPE type, [Runtime::InteropServices::Out] int % pfActive);
int GetAttributeStatusVal(std::wstring const & bstrValue, Microsoft::VisualStudio::Shell::Interop::ATTRVALUETYPE type, [Runtime::InteropServices::Out] int & pfActive);
public int GetAttributeStatusVal (string bstrValue, Microsoft.VisualStudio.Shell.Interop.ATTRVALUETYPE type, out int pfActive);
abstract member GetAttributeStatusVal : string * Microsoft.VisualStudio.Shell.Interop.ATTRVALUETYPE * int -> int
Public Function GetAttributeStatusVal (bstrValue As String, type As ATTRVALUETYPE, ByRef pfActive As Integer) As Integer
Parâmetros
- bstrValue
- String
no Ponteiro para uma cadeia de caracteres que contém o valor.
- type
- ATTRVALUETYPE
no Um ATTRVALUETYPE que indica o tipo do atributo: VSHAL_Real para o atributo real, VSHAL_Display para o atributo de exibição.
- pfActive
- Int32
fora Boolean. Defina como true se o atributo estiver ativo.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Comentários
Assinatura COM
De vsshell80. idl:
HRESULT IVsHelpAttributeList::GetAttributeStatusVal(
[in] BSTR bstrValue,
[in] ATTRVALUETYPE type, [out] BOOL *pfActive
);