Package.IVsPackage.GetAutomationObject Method (String, Object)
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Gets an automation-friendly object for this package.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
private abstract GetAutomationObject : propName:string * auto:Object byref -> int private override GetAutomationObject : propName:string * auto:Object byref -> int
Parameters
- propName
-
Type:
System.String
String containing the automation property name.
- auto
-
Type:
System.Object
[out] Returns the automation object.
The default implementation will return auto as null if propName is null, indicating that there is no default automation object. If propName is non-null, it will walk the metadata attributes searching for an options page that has a name of the format: <Category>.<Name>. If the options page has this format and indicates that it supports automation, its automation object will be returned.
Show: