INavigateToItemDisplay2 Interface

 

Adds an optional preview behavior for INavigateToItemDisplay implementations.  Implementing INavigateToItemDisplay2 marks the display item as one that supports previewing.

Namespace:   Microsoft.VisualStudio.Language.NavigateTo.Interfaces
Assembly:  Microsoft.VisualStudio.Language.NavigateTo.Interfaces (in Microsoft.VisualStudio.Language.NavigateTo.Interfaces.dll)

public interface INavigateToItemDisplay2 : INavigateToItemDisplay

NameDescription
System_CAPS_pubpropertyAdditionalInformation

Gets additional information that should be displayed for the item.(Inherited from INavigateToItemDisplay.)

System_CAPS_pubpropertyDescription

Gets a detailed description to be displayed about the item. This frequently includes the kind, scope, and location of the item, and a preview of the item.(Inherited from INavigateToItemDisplay.)

System_CAPS_pubpropertyDescriptionItems

Gets the collection of description items.(Inherited from INavigateToItemDisplay.)

System_CAPS_pubpropertyGlyph

Gets the symbol icon.(Inherited from INavigateToItemDisplay.)

System_CAPS_pubpropertyName

Gets the name of the item.(Inherited from INavigateToItemDisplay.)

NameDescription
System_CAPS_pubmethodGetProvisionalViewingStatus()

Determines the provisional viewing status of the item.

System_CAPS_pubmethodNavigateTo()

Navigates to the file, line, and column associated with the symbol.(Inherited from INavigateToItemDisplay.)

System_CAPS_pubmethodPreviewItem()

Opens the item in preview mode, without focusing the item.  The caller is responsible for setting up a default preview state using NewDocumentStateScope, and the implementation of PreviewItem should only be concerned with opening the correct document.

Return to top
Show: