Freigeben über


IPeekableItemSourceProvider Interface

Definition

Provides IPeekableItem source for a text buffer.

public interface class IPeekableItemSourceProvider
public interface class IPeekableItemSourceProvider
__interface IPeekableItemSourceProvider
public interface IPeekableItemSourceProvider
type IPeekableItemSourceProvider = interface
Public Interface IPeekableItemSourceProvider

Remarks

Peek providers implement and export IPeekableItemSourceProvider for the content type they are interested to provide IPeekableItems for. This is a MEF component, and should be exported with the following attribute: [Export(typeof(IPeekableItemSourceProvider))] You must provide the ContentType and Name attributes. The Order, SupportsStandaloneFiles and SupportsPeekRelationshipAttribute attributes are optional. The default value of the SupportsStandaloneFiles attribute is false so if not specified the provider will be considered not supporting standalone files.

Methods

TryCreatePeekableItemSource(ITextBuffer)

Creates a IPeekableItem provider for the given text buffer.

Applies to