Udostępnij za pośrednictwem


IAppxManifestDesignerService3 Interface

Definition

Provides programmatic access to a project's .appxmanifext file. You can use it to open a DocData object provided by the Manifest Designer, ensure that it is registered in the running document table (RDT), and return a document handle object that implements two interfaces: IVsDocumentLockHolder and IVsInvisibleEditor. This forces any existing document window to close, and causes the returned document handle to hold a RDT_EditLock. When you need to keep the document handle for longer periods of time, cast it to IVsInvisibleEditor and use GetDocData to get a pointer to a fresh object model. When finished with the document handle, always call IVsDocumentLockHolder.CloseDocumentHolder(), usually passing (uint)__FRAMECLOSE.FRAMECLOSE_SaveIfDirty as the save option.

public interface class IAppxManifestDesignerService3 : Microsoft::VisualStudio::Shell::Interop::IAppxManifestDesignerService2
public interface class IAppxManifestDesignerService3 : Microsoft::VisualStudio::Shell::Interop::IAppxManifestDesignerService2
__interface IAppxManifestDesignerService3 : Microsoft::VisualStudio::Shell::Interop::IAppxManifestDesignerService2
[System.Runtime.InteropServices.Guid("77289E0B-C434-47F0-910E-E7676E1FA427")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IAppxManifestDesignerService3 : Microsoft.VisualStudio.Shell.Interop.IAppxManifestDesignerService2
[<System.Runtime.InteropServices.Guid("77289E0B-C434-47F0-910E-E7676E1FA427")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IAppxManifestDesignerService3 = interface
    interface IAppxManifestDesignerService2
[<System.Runtime.InteropServices.Guid("77289E0B-C434-47F0-910E-E7676E1FA427")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IAppxManifestDesignerService3 = interface
    interface IAppxManifestDesignerService2
    interface IAppxManifestDesignerService
Public Interface IAppxManifestDesignerService3
Implements IAppxManifestDesignerService2
Attributes
Implements

Remarks

Introduced in Visual Studio 2013 Update 2. To reference the correct assembly version, see Referencing Assemblies Delivered in the Visual Studio 2013 SDK Update 2.

Methods

OpenAppxManifestDesigner(IVsDocumentLockHolder, AppxManifestDesignerTab)

Opens the .appxmanifest designer displaying the specified tab with the given document handle.

OpenAppxManifestDesigner(IVsDocumentLockHolder, AppxManifestDesignerTab2)

Opens the .appxmanifest designer.

OpenAppxManifestDocument(Object, IVsDocumentLockHolder, IAppxManifestDocument)

Opens the .appxmanifest file.

OpenAppxManifestDocument(Object, UInt32, IVsDocumentLockHolder, IAppxManifestDocument2)

Opens the .appxmanifest file.

Applies to