Partager via


VsShellUtilities.GetProvisionalViewingStatus Method (IVsHierarchy, UInt32)

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function GetProvisionalViewingStatus ( _
    hierarchy As IVsHierarchy, _
    itemid As UInteger _
) As UInteger
public static uint GetProvisionalViewingStatus(
    IVsHierarchy hierarchy,
    uint itemid
)
public:
static unsigned int GetProvisionalViewingStatus(
    IVsHierarchy^ hierarchy, 
    unsigned int itemid
)
static member GetProvisionalViewingStatus : 
        hierarchy:IVsHierarchy * 
        itemid:uint32 -> uint32
public static function GetProvisionalViewingStatus(
    hierarchy : IVsHierarchy, 
    itemid : uint
) : uint

Parameters

  • itemid
    Type: UInt32

    The item ID within the hierarchy.

Return Value

Type: UInt32
A member of the __VSPROVISIONALVIEWINGSTATUS enumeration that describes how the item can be opened in the preview tab.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

GetProvisionalViewingStatus Overload

Microsoft.VisualStudio.Shell Namespace