共用方式為


IVsProvisionalItem Interface

Definition

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

public interface class IVsProvisionalItem
public interface class IVsProvisionalItem
__interface IVsProvisionalItem
[System.Runtime.InteropServices.Guid("9977DA6B-0C38-4565-A38A-71CF8CD1EF53")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProvisionalItem
[<System.Runtime.InteropServices.Guid("9977DA6B-0C38-4565-A38A-71CF8CD1EF53")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProvisionalItem = interface
Public Interface IVsProvisionalItem
Attributes

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.

Properties

IsProvisonalViewingEnabled

Indicates whether provisional viewing is enabled.

Applies to