IAppxManifestDesignerService2::OpenAppxManifestDocument Method (Object^, UInt32, IVsDocumentLockHolder^, IAppxManifestDocument2^)
Visual Studio 2015
Opens the .appxmanifest file in the specified file.
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
int OpenAppxManifestDocument( Object^ Project, unsigned int forceSaveAndClose, [OutAttribute] IVsDocumentLockHolder^% documentHandle, [OutAttribute] IAppxManifestDocument2^% appxManifestDocument )
Parameters
- Project
-
Type:
System::Object^
The project.
- forceSaveAndClose
-
Type:
System::UInt32
true if an open copy of the file should be saved, otherwise false.
- documentHandle
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsDocumentLockHolder^
The document lock.
- appxManifestDocument
-
Type:
Microsoft.VisualStudio.Shell.Interop::IAppxManifestDocument2^
The document.
Any open copies of the .appxmanifest file in any editor are forced to close. When this happens, the saving behavior is controlled by the forceSaveAndClose parameter.
Show: