Events::GetObject Method (String^)
Visual Studio 2015
Gets an interface or object that is late-bound to the DTE object and can be accessed by name at run time.
Assembly: EnvDTE (in EnvDTE.dll)
Parameters
- Name
-
Type:
System::String^
Required. The name of the object to retrieve.
GetObject is most useful in languages that do not support early binding. In this case, you can name the specific interface or object you want, for example, DTE.GetObject("VCProjects").
IExtenderSite.GetObject only supports the value, DTE, as the Name parameter. This is provided for Extender Providers to get to the DTE object.
Show: