IVsTextEditorPropertyCategoryContainer.GetPropertyCategory(Guid, IVsTextEditorPropertyContainer) Método

Definição

Retorna a categoria de propriedade especificada.

public:
 int GetPropertyCategory(Guid % rguidCategory, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextEditorPropertyContainer ^ % ppProp);
public int GetPropertyCategory (ref Guid rguidCategory, out Microsoft.VisualStudio.TextManager.Interop.IVsTextEditorPropertyContainer ppProp);
abstract member GetPropertyCategory : Guid * IVsTextEditorPropertyContainer -> int
Public Function GetPropertyCategory (ByRef rguidCategory As Guid, ByRef ppProp As IVsTextEditorPropertyContainer) As Integer

Parâmetros

rguidCategory
Guid

no Especifica a categoria de GUID para a propriedade. As categorias predefinidas para o editor de texto principal são GUID_EditPropCategory_View_MasterSettings e GUID_EditPropCategory_TextMgr_Global, conforme definido em TextMgr. idl. Outros objetos podem definir categorias diferentes, conforme necessário.

ppProp
IVsTextEditorPropertyContainer

fora Ponteiro para um IVsTextEditorPropertyContainer objeto, que permite que você obtenha, defina e remova Propriedades do editor.

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

De textmgr. idl:

HRESULT IVsTextEditorPropertyCategoryContainer::GetPropertyCategory(  
   [in] REFGUID rguidCategory,   
   [out] IVsTextEditorPropertyContainer **ppProp  
);  

Aplica-se a