共用方式為


OleComponent.CreateHostedComponent Method

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Shared Function CreateHostedComponent As OleComponent
public static OleComponent CreateHostedComponent()

Return Value

Type: Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent

.NET Framework Security

See Also

Reference

OleComponent Class

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace