다음을 통해 공유


IExtenderSite.GetObject(String) Method

Definition

Returns an interface or object that is late-bound to the DTE object and that can be accessed by name at runtime.

winrt::Windows::Foundation::IInspectable GetObject(std::wstring const & Name = "");
[System.Runtime.InteropServices.DispId(2)]
public object GetObject (string Name = "");
[<System.Runtime.InteropServices.DispId(2)>]
abstract member GetObject : string -> obj
Public Function GetObject (Optional Name As String = "") As Object

Parameters

Name
String

Required. The name of the object to retrieve. Only "DTE" is supported.

Returns

An object.

Attributes

Remarks

GetObject supports only "DTE" as the Name parameter. This is provided so that extender providers can access the DTE object.

Applies to