Compartilhar via


ProvideExtenderAttribute Constructor

Initializes a new instance of ProvideExtenderAttribute for the specified extender.

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

Syntax

'Declaration
Public Sub New ( _
    extendeeCatId As String, _
    extenderGuid As String, _
    extenderName As String _
)
public ProvideExtenderAttribute(
    string extendeeCatId,
    string extenderGuid,
    string extenderName
)
public:
ProvideExtenderAttribute(
    String^ extendeeCatId, 
    String^ extenderGuid, 
    String^ extenderName
)
new : 
        extendeeCatId:string * 
        extenderGuid:string * 
        extenderName:string -> ProvideExtenderAttribute
public function ProvideExtenderAttribute(
    extendeeCatId : String, 
    extenderGuid : String, 
    extenderName : String
)

Parameters

  • extendeeCatId
    Type: String

    The CATID of the element to be extended.

  • extenderGuid
    Type: String

    The GUID of the extender.

  • extenderName
    Type: String

    The name of the extender.

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.

Examples

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

.NET Framework Security

See Also

Reference

ProvideExtenderAttribute Class

Microsoft.VisualStudio.Shell Namespace