NativeMethods.IEventHandler.AddHandler Method

Adds an event handler.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Function AddHandler ( _
    bstrEventName As String _
) As Integer
'Usage
Dim instance As NativeMethods..::..IEventHandler
Dim bstrEventName As String
Dim returnValue As Integer

returnValue = instance.AddHandler(bstrEventName)
int AddHandler(
    string bstrEventName
)
int AddHandler(
    String^ bstrEventName
)
function AddHandler(
    bstrEventName : String
) : int
abstract AddHandler : 
        bstrEventName:string -> int 

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

NativeMethods.IEventHandler Interface

NativeMethods.IEventHandler Members

Microsoft.VisualStudio Namespace