OleComponent.CreateHostedComponent(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.