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
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyhe hierarchy that contains the item.
itemid
Type: UInt32The 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.