Método IVsContainedLanguageStaticEventBinding.RemoveStaticEventBinding
Remove a ligação do evento do membro especificado.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Sintaxe
'Declaração
Function RemoveStaticEventBinding ( _
pszClassName As String, _
pszUniqueMemberID As String, _
pszObjectName As String, _
pszNameOfEvent As String _
) As Integer
int RemoveStaticEventBinding(
string pszClassName,
string pszUniqueMemberID,
string pszObjectName,
string pszNameOfEvent
)
int RemoveStaticEventBinding(
[InAttribute] String^ pszClassName,
[InAttribute] String^ pszUniqueMemberID,
[InAttribute] String^ pszObjectName,
[InAttribute] String^ pszNameOfEvent
)
abstract RemoveStaticEventBinding :
pszClassName:string *
pszUniqueMemberID:string *
pszObjectName:string *
pszNameOfEvent:string -> int
function RemoveStaticEventBinding(
pszClassName : String,
pszUniqueMemberID : String,
pszObjectName : String,
pszNameOfEvent : String
) : int
Parâmetros
pszClassName
Tipo: String[in] O nome totalmente qualificado da classe o membro reside no.
pszUniqueMemberID
Tipo: String[in] A identificação exclusiva do membro que manipula o evento.
pszObjectName
Tipo: String[in] O nome do objeto que contém o evento.
pszNameOfEvent
Tipo: String[in] O nome do evento.
Valor de retorno
Tipo: Int32
Se bem-sucedida, retorna S_OK; Caso contrário, retorna um código de erro.
Comentários
COM assinatura
De singlefileeditor.idl:
HRESULT RemoveStaticEventBinding(
[in] LPCWSTR pszClassName,
[in] LPCWSTR pszUniqueMemberID,
[in] LPCWSTR pszObjectName,
[in] LPCWSTR pszNameOfEvent
);
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.