OleComponent.CreateHostedComponent(String) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellt eine neue- OleComponent Instanz mit Instance IOleComponentManager , da Sie sich selbst registrieren muss.
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
Parameter
- diagnosticsName
- String
Gibt zurück
Gibt OleComponentzurück.