Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- target
Type: Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
The IOleCommandTarget to register.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace