IVsRunningDocTableEvents2.OnAfterAttributeChange(UInt32, UInt32) Método

Definição

Chamado após uma alteração em um atributo de documento de um documento na tabela de documentos em execução (RDT).

public:
 int OnAfterAttributeChange(System::UInt32 docCookie, System::UInt32 grfAttribs);
public:
 int OnAfterAttributeChange(unsigned int docCookie, unsigned int grfAttribs);
int OnAfterAttributeChange(unsigned int docCookie, unsigned int grfAttribs);
public int OnAfterAttributeChange (uint docCookie, uint grfAttribs);
abstract member OnAfterAttributeChange : uint32 * uint32 -> int
Public Function OnAfterAttributeChange (docCookie As UInteger, grfAttribs As UInteger) As Integer

Parâmetros

docCookie
UInt32

no Valor abstrato que representa o documento cujos atributos foram alterados.

grfAttribs
UInt32

no Sinalizadores correspondentes aos atributos alterados. Os valores são obtidos da __VSRDTATTRIB enumeração.

Retornos

Int32

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

Implementações

Comentários

O ambiente chama esse método quando os atributos de um documento mudam várias coisas podem alterar os atributos de um documento:

Assinatura COM

De VSShell. idl:

HRESULT IVsRunningDocTableEvents2::OnAfterAttributeChange(  
   [in] VSCOOKIE docCookie,  
   [in] VSRDTATTRIB grfAttribs  
);  

Aplica-se a