GraphLink.OnCategoryChanged Method
Override that notifies the GraphGroupCollection any time a GraphCategory has changed on this link. Notify the GraphGroupCollection any time a GraphCategory has changed on this link because this might affect the IsContainment behavior of this link, which affects the structure of the GraphGroup hierarchy.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Protected Overrides Sub OnCategoryChanged ( _
category As GraphCategory, _
changeType As GraphCategoryChangeType _
)
protected override void OnCategoryChanged(
GraphCategory category,
GraphCategoryChangeType changeType
)
protected:
virtual void OnCategoryChanged(
GraphCategory^ category,
GraphCategoryChangeType changeType
) override
abstract OnCategoryChanged :
category:GraphCategory *
changeType:GraphCategoryChangeType -> unit
override OnCategoryChanged :
category:GraphCategory *
changeType:GraphCategoryChangeType -> unit
protected override function OnCategoryChanged(
category : GraphCategory,
changeType : GraphCategoryChangeType
)
Parameters
category
Type: Microsoft.VisualStudio.GraphModel.GraphCategoryThe GraphCategory that was changed.
changeType
Type: Microsoft.VisualStudio.GraphModel.GraphCategoryChangeTypeThe type of change that has occurred.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.