Metodo IVsContainedLanguageStaticEventBinding.RemoveStaticEventBinding
Rimuove l'associazione di eventi dal membro specificato.
Spazio dei nomi: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Sintassi
'Dichiarazione
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
Parametri
pszClassName
Tipo: String[in] Il nome completo della classe il membro si trova in.
pszUniqueMemberID
Tipo: String[in] ID univoco del membro che gestisce l'evento.
pszObjectName
Tipo: String[in] Il nome dell'oggetto che contiene l'evento.
pszNameOfEvent
Tipo: String[in] Il nome dell'evento.
Valore restituito
Tipo: Int32
Se l'operazione riesce, restituisce S_OK; in caso contrario, restituisce un codice di errore.
Note
Firma COM
da singlefileeditor.idl:
HRESULT RemoveStaticEventBinding(
[in] LPCWSTR pszClassName,
[in] LPCWSTR pszUniqueMemberID,
[in] LPCWSTR pszObjectName,
[in] LPCWSTR pszNameOfEvent
);
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.