次の方法で共有


OleComponent.CreateHostedComponent(String) Method

Definition

Creates a new OleComponent instance using Instance as the IOleComponentManager it needs to register itself.

 static Microsoft::VisualStudio::PlatformUI::OleComponentSupport::OleComponent CreateHostedComponent(std::wstring const & diagnosticsName = null);
public static Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent CreateHostedComponent (string diagnosticsName = default);
static member CreateHostedComponent : string -> Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent
Public Shared Function CreateHostedComponent (Optional diagnosticsName As String = Nothing) As OleComponent

Parameters

diagnosticsName
String

Returns

Returns OleComponent.

Applies to