ProjectNode.AddCATIDMapping Method

Adds a category ID GUID to the mapping.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Sub AddCATIDMapping ( _
    type As Type, _
    catid As Guid _
)
'使用
Dim type As Type
Dim catid As Guid

Me.AddCATIDMapping(type, catid)
protected void AddCATIDMapping(
    Type type,
    Guid catid
)
protected:
void AddCATIDMapping(
    Type^ type, 
    Guid catid
)
protected function AddCATIDMapping(
    type : Type, 
    catid : Guid
)

Parameters

  • type
    Type: System.Type

    The type of the category being mapped.

Remarks

This is used to specify a CATID corresponding to a BrowseObject or an ExtObject. The CATID can be any GUID. For your own types you could use the type GUID; for other types (such as those provided in the MPF) you should provide a different GUID.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace