IExtenderSite.GetObject(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.
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.