Share via


ISchemaModelViewer.RegisterForCommandRouting Method

Registers the specified object for OLE command target routing.

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

Syntax

'Declaration
Sub RegisterForCommandRouting ( _
    target As IOleCommandTarget _
)
void RegisterForCommandRouting(
    IOleCommandTarget target
)
void RegisterForCommandRouting(
    IOleCommandTarget^ target
)
abstract RegisterForCommandRouting : 
        target:IOleCommandTarget -> unit 
function RegisterForCommandRouting(
    target : IOleCommandTarget
)

Parameters

Remarks

When this method is called, the component is registered to be notified regardless of which project is represented in Schema View.

.NET Framework Security

See Also

Reference

ISchemaModelViewer Interface

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace