NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICodeNavigatorService.NavigateToEvent (IComponent, EventDescriptor, Int32)

Requests that the source view for the file be displayed and that the cursor be placed within the block for the given event.

[Visual Basic]
Overloads Function NavigateToEvent( _
   ByVal component As IComponent, _
   ByVal eventdesc As EventDescriptor, _
   ByVal mods As Integer _
) As String
[C#]
string NavigateToEvent(
   IComponent component,
   EventDescriptor eventdesc,
   int mods
);
[C++]
String* NavigateToEvent(
   IComponent* component,
   EventDescriptor* eventdesc,
   int mods
) = 0;
[JScript]
function NavigateToEvent(
   component : IComponent,
   eventdesc : EventDescriptor,
   mods : int
) : String;

Parameters

component
The component that the event is bound to.
eventdesc
The event to navigate to.
mods
The modifiers for the method, should it need to be created.

Return Value

The name of the event method.

See Also

ICodeNavigatorService Interface | ICodeNavigatorService Members | System.ComponentModel.Design Namespace | ICodeNavigatorService.NavigateToEvent Overload List