Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a new OleComponent instance using Instance as the IOleComponentManager it needs to register itself.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function CreateHostedComponent As OleComponent
'Usage
Dim returnValue As OleComponent
returnValue = OleComponent.CreateHostedComponent()
public static OleComponent CreateHostedComponent()
public:
static OleComponent^ CreateHostedComponent()
static member CreateHostedComponent : unit -> OleComponent
public static function CreateHostedComponent() : OleComponent
Return Value
Type: Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent
.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.PlatformUI.OleComponentSupport Namespace