Share via


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

.NET Framework Security

See Also

Reference

GraphLink Class

Microsoft.VisualStudio.GraphModel Namespace