RegisterExtenderAttribute Constructor (String^, String^, String^)

 

This constructor creates a new RegisterExtenderAttribute object.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
RegisterExtenderAttribute(
	String^ extendeeCatId,
	String^ extenderGuid,
	String^ extenderName
)

Parameters

extendeeCatId
Type: System::String^

The CATID of the extendee.

extenderGuid
Type: System::String^

The GUID of the extender.

extenderName
Type: System::String^

The name of the extender.

The C# language automatically appends the word "Attribute" to the name of any attribute class. In C# code, refer to this attribute as RegisterExtender.

The following C# code applies the RegisterExtender attribute to a VSPackage named MyVSPackage.

using Microsoft.VisualStudio.VSIP;
using MSVSIP = Microsoft.VisualStudio.VSIP;c
[MSVSIP.Helper.RegisterExtender("A2392464-7C22-11D3-BDCA-00C04F688E50", "7C7E655A-0FBD-43c8-BC2E-C83BB68BFFA2" , "StaticSolutionBrowserObjExtender")]
public class AutoExtenderPackage : MSVSIP.Helper.Package {}
Return to top
Show: