Share via


IGraphNavigateToItem Interface

Interface representing an extension that can navigate to the item represented by a GraphObject.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Interface IGraphNavigateToItem _
    Inherits IGraphProviderRankableExtension
public interface IGraphNavigateToItem : IGraphProviderRankableExtension
public interface class IGraphNavigateToItem : IGraphProviderRankableExtension
type IGraphNavigateToItem =  
    interface 
        interface IGraphProviderRankableExtension 
    end
public interface IGraphNavigateToItem extends IGraphProviderRankableExtension

The IGraphNavigateToItem type exposes the following members.

Methods

  Name Description
Public method GetRank Get a rank value associated with given graph object. The larger is this value the more likely this extension instance will be chosen when more than one provider supports this extension type on a graph object. For example the C# provider's IGraphNavigateToItem extension will return larger value if the graph object represents a code element from a C# project and lesser value for a code element from metadata (which might be handled better by another provider). (Inherited from IGraphProviderRankableExtension.)
Public method NavigateTo Navigates to the item represented by the Graphobject.

Top

See Also

Reference

Microsoft.VisualStudio.GraphModel Namespace