共用方式為


ProvideExtenderAttribute(String, String, String) Constructor

Definition

Creates a new ProvideExtenderAttribute.

public:
 ProvideExtenderAttribute(System::String ^ extendeeCatId, System::String ^ extenderGuid, System::String ^ extenderName);
public:
 ProvideExtenderAttribute(Platform::String ^ extendeeCatId, Platform::String ^ extenderGuid, Platform::String ^ extenderName);
 ProvideExtenderAttribute(std::wstring const & extendeeCatId, std::wstring const & extenderGuid, std::wstring const & extenderName);
public ProvideExtenderAttribute (string extendeeCatId, string extenderGuid, string extenderName);
new Microsoft.VisualStudio.Shell.ProvideExtenderAttribute : string * string * string -> Microsoft.VisualStudio.Shell.ProvideExtenderAttribute
Public Sub New (extendeeCatId As String, extenderGuid As String, extenderName As String)

Parameters

extendeeCatId
String

CatId of the element you want to extend.

extenderGuid
String

GUID of the extender.

extenderName
String

Name of the element you want to extend.

Examples

using MSVSIP = Microsoft.VisualStudio.Shell;  
...  
[MSVSIP.ProvideExtender("A2392464-7C22-11D3-BDCA-00C04F688E50", "7C7E655A-0FBD-43c8-BC2E-C83BB68BFFA2" , "StaticSolutionBrowserObjExtender")]  
public class AutoExtenderPackage : MSVSIP.Package  
...  

Remarks

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

Applies to