IVsFontAndColorStorage.RemoveCategory(Guid) Método

Definição

Exclui os dados salvos de uma categoria do registro.

public:
 int RemoveCategory(Guid % rguidCategory);
public int RemoveCategory (ref Guid rguidCategory);
abstract member RemoveCategory : Guid -> int
Public Function RemoveCategory (ByRef rguidCategory As Guid) As Integer

Parâmetros

rguidCategory
Guid

no O GUID da categoria.

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 VSShell. idl:

HRESULT IVsFontAndColorStorage::RemoveCategory(  
   [in] REFGUID rguidCategory  
);  

Esse método fornece uma maneira fácil de reverter as configurações de uma categoria para seus valores padrão.

Se uma categoria estiver aberta, IVsFontAndColorStorage.RemoveCategory o tentará fechar a categoria antes de retorná-la ao seu estado original.

Aplica-se a