ExtensionPointPackage::CreateExtensionPoint Method (Guid, Guid)
Visual Studio 2015
Creates an extension point.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- extensionPoint
-
Type:
System::Guid
The requested extension point type.
- instance
-
Type:
System::Guid
Instance identifier of the requested extension point.
Return Value
Type: System::Object^The requested extension point or null on failure. If null is returned, the package will throw an ArgumentException to its caller.
This method is called by the base class in order to satisfy a request for an extension point. Extension points are implemented by packages and requested on demand by shared components. This is the reverse of the “factory” pattern, where packages register factories with a central service.
The base class implements discovery mechanisms for well-known extension points. Derived classes may override this and optionally call the base class.
Show: