This documentation is archived and is not being maintained.
ContextChangingEventArgs::AddHierarchyForPromptAndSave Method
Visual Studio 2013
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)
public: virtual void AddHierarchyForPromptAndSave( Object^ hierarchy, unsigned int parentItemId, bool autoClose ) abstract
Parameters
- hierarchy
- Type: System::Object
An IVsHierarchy object is expected
- parentItemId
- Type: System::UInt32
The parent item
- autoClose
- Type: System::Boolean
Bool to indicate if the frame should be closed
- 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.
Show: