ContextChangingEventArgs.AddHierarchyForPromptAndSave Method
When inside Visual Studio, IVsHierarchy items can be prompted for saving before it continues with switching the context.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public MustOverride Sub AddHierarchyForPromptAndSave ( _
hierarchy As Object, _
parentItemId As UInteger, _
autoClose As Boolean _
)
public abstract void AddHierarchyForPromptAndSave(
Object hierarchy,
uint parentItemId,
bool autoClose
)
public:
virtual void AddHierarchyForPromptAndSave(
Object^ hierarchy,
unsigned int parentItemId,
bool autoClose
) abstract
abstract AddHierarchyForPromptAndSave :
hierarchy:Object *
parentItemId:uint32 *
autoClose:bool -> unit
public abstract function AddHierarchyForPromptAndSave(
hierarchy : Object,
parentItemId : uint,
autoClose : boolean
)
Parameters
hierarchy
Type: System.ObjectAn IVsHierarchy object is expected
parentItemId
Type: System.UInt32The parent item
autoClose
Type: System.BooleanBool to indicate if the frame should be closed
.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.