IAppxManifestDesignerService2.OpenAppxManifestDocument Método

Definição

Sobrecargas

OpenAppxManifestDocument(Object, IVsDocumentLockHolder, IAppxManifestDocument)

Abre o arquivo. appxmanifest no projeto especificado.

OpenAppxManifestDocument(Object, UInt32, IVsDocumentLockHolder, IAppxManifestDocument2)

Abre o arquivo. appxmanifest no arquivo especificado.

OpenAppxManifestDocument(Object, IVsDocumentLockHolder, IAppxManifestDocument)

Abre o arquivo. appxmanifest no projeto especificado.

public:
 int OpenAppxManifestDocument(System::Object ^ project, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDocumentLockHolder ^ % documentHandle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IAppxManifestDocument ^ % appxManifestDocument);
public:
 int OpenAppxManifestDocument(Platform::Object ^ project, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDocumentLockHolder ^ &  documentHandle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IAppxManifestDocument ^ &  appxManifestDocument);
int OpenAppxManifestDocument(winrt::Windows::Foundation::IInspectable const & project, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDocumentLockHolder const & & documentHandle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IAppxManifestDocument const & & appxManifestDocument);
public int OpenAppxManifestDocument (object project, out Microsoft.VisualStudio.Shell.Interop.IVsDocumentLockHolder documentHandle, out Microsoft.VisualStudio.Shell.Interop.IAppxManifestDocument appxManifestDocument);
abstract member OpenAppxManifestDocument : obj * IVsDocumentLockHolder * IAppxManifestDocument -> int
Public Function OpenAppxManifestDocument (project As Object, ByRef documentHandle As IVsDocumentLockHolder, ByRef appxManifestDocument As IAppxManifestDocument) As Integer

Parâmetros

project
Object

Um ponteiro para o projeto. O objeto pode ser um IVsHierarchy ou um DTE.

documentHandle
IVsDocumentLockHolder

O bloqueio de documento.

appxManifestDocument
IAppxManifestDocument

O documento.

Retornos

Int32

O HRESULT.

Implementações

Aplica-se a

OpenAppxManifestDocument(Object, UInt32, IVsDocumentLockHolder, IAppxManifestDocument2)

Abre o arquivo. appxmanifest no arquivo especificado.

public:
 int OpenAppxManifestDocument(System::Object ^ Project, System::UInt32 forceSaveAndClose, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDocumentLockHolder ^ % documentHandle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IAppxManifestDocument2 ^ % appxManifestDocument);
public:
 int OpenAppxManifestDocument(Platform::Object ^ Project, unsigned int forceSaveAndClose, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDocumentLockHolder ^ &  documentHandle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IAppxManifestDocument2 ^ &  appxManifestDocument);
int OpenAppxManifestDocument(winrt::Windows::Foundation::IInspectable const & Project, unsigned int forceSaveAndClose, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDocumentLockHolder const & & documentHandle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IAppxManifestDocument2 const & & appxManifestDocument);
public int OpenAppxManifestDocument (object Project, uint forceSaveAndClose, out Microsoft.VisualStudio.Shell.Interop.IVsDocumentLockHolder documentHandle, out Microsoft.VisualStudio.Shell.Interop.IAppxManifestDocument2 appxManifestDocument);
abstract member OpenAppxManifestDocument : obj * uint32 * IVsDocumentLockHolder * IAppxManifestDocument2 -> int
Public Function OpenAppxManifestDocument (Project As Object, forceSaveAndClose As UInteger, ByRef documentHandle As IVsDocumentLockHolder, ByRef appxManifestDocument As IAppxManifestDocument2) As Integer

Parâmetros

Project
Object

O projeto.

forceSaveAndClose
UInt32

true caso contrário, uma cópia aberta do arquivo deverá ser salva false .

documentHandle
IVsDocumentLockHolder

O bloqueio de documento.

appxManifestDocument
IAppxManifestDocument2

O documento.

Retornos

Int32

O HRESULT.

Comentários

Todas as cópias abertas do arquivo. appxmanifest em qualquer editor são forçadas a fechar. Quando isso acontece, o comportamento de salvamento é controlado pelo forceSaveAndClose parâmetro.

Aplica-se a