IAppxManifestDesignerService2.OpenAppxManifestDocument Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| OpenAppxManifestDocument(Object, IVsDocumentLockHolder, IAppxManifestDocument) |
Öffnet die appxmanifest-Datei im angegebenen Projekt. |
| OpenAppxManifestDocument(Object, UInt32, IVsDocumentLockHolder, IAppxManifestDocument2) |
Öffnet die appxmanifest-Datei in der angegebenen Datei. |
OpenAppxManifestDocument(Object, IVsDocumentLockHolder, IAppxManifestDocument)
Öffnet die appxmanifest-Datei im angegebenen Projekt.
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
Parameter
- project
- Object
Ein Zeiger auf das Projekt. Bei dem Objekt kann es sich entweder um eine ivshierarchie oder einen DTE handeln.
- documentHandle
- IVsDocumentLockHolder
Die Dokument Sperre.
- appxManifestDocument
- IAppxManifestDocument
Das Dokument.
Gibt zurück
Das HRESULT.
Implementiert
Gilt für
OpenAppxManifestDocument(Object, UInt32, IVsDocumentLockHolder, IAppxManifestDocument2)
Öffnet die appxmanifest-Datei in der angegebenen Datei.
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
Parameter
- Project
- Object
Das Projekt.
- forceSaveAndClose
- UInt32
true , wenn eine geöffnete Kopie der Datei gespeichert werden soll, andernfalls false .
- documentHandle
- IVsDocumentLockHolder
Die Dokument Sperre.
- appxManifestDocument
- IAppxManifestDocument2
Das Dokument.
Gibt zurück
Das HRESULT.
Hinweise
Alle geöffneten Kopien der appxmanifest-Datei in einem Editor müssen geschlossen werden. Wenn dies geschieht, wird das speicherungsverhalten durch den- forceSaveAndClose Parameter gesteuert.