IVsProvisionalItem Interface

Provides a way to opt out of creating a provisional view for an item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
<GuidAttribute("9977DA6B-0C38-4565-A38A-71CF8CD1EF53")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsProvisionalItem
[GuidAttribute("9977DA6B-0C38-4565-A38A-71CF8CD1EF53")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProvisionalItem
[GuidAttribute(L"9977DA6B-0C38-4565-A38A-71CF8CD1EF53")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsProvisionalItem
[<GuidAttribute("9977DA6B-0C38-4565-A38A-71CF8CD1EF53")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProvisionalItem =  interface end
public interface IVsProvisionalItem

The IVsProvisionalItem type exposes the following members.

Properties

  Name Description
Public property IsProvisonalViewingEnabled Indicates whether provisional viewing is enabled.

Top

Remarks

This interface is optional and is implemented by objects that also implement other abstract Visual Studio interfaces (for example, IVsTaskItem3). The implementer can use this interface to opt out of creating a provisional view for the item. Opting out may be required if it takes an unacceptably long period of time to open a file.

If this interface is not implemented, it is assumed the item can be previewed.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace