IAppxManifestDesignerService2::OpenAppxManifestDocument Method (Object^, UInt32, IVsDocumentLockHolder^, IAppxManifestDocument2^)

 

Opens the .appxmanifest file in the specified file.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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.

Return Value

Type: System::Int32

The HRESULT.

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.

Return to top
Show: