INavigateToItemDisplay2 Interface

Visual Studio 2013

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

The INavigateToItemDisplay2 type exposes the following members.

  NameDescription
Public propertyAdditionalInformationGets additional information that should be displayed for the item. (Inherited from INavigateToItemDisplay.)
Public propertyDescriptionGets 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.)
Public propertyDescriptionItemsGets the collection of description items. (Inherited from INavigateToItemDisplay.)
Public propertyGlyphGets the symbol icon. (Inherited from INavigateToItemDisplay.)
Public propertyNameGets the name of the item. (Inherited from INavigateToItemDisplay.)
Top

  NameDescription
Public methodGetProvisionalViewingStatusDetermines the provisional viewing status of the item.
Public methodNavigateToNavigates to the file, line, and column associated with the symbol. (Inherited from INavigateToItemDisplay.)
Public methodPreviewItemOpens 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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft