IAppxManifestDesignerService3 Interface
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.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)
Syntax
'Declaration
<GuidAttribute("77289E0B-C434-47F0-910E-E7676E1FA427")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IAppxManifestDesignerService3 _
Inherits IAppxManifestDesignerService2
[GuidAttribute("77289E0B-C434-47F0-910E-E7676E1FA427")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IAppxManifestDesignerService3 : IAppxManifestDesignerService2
[GuidAttribute(L"77289E0B-C434-47F0-910E-E7676E1FA427")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IAppxManifestDesignerService3 : IAppxManifestDesignerService2
[<GuidAttribute("77289E0B-C434-47F0-910E-E7676E1FA427")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IAppxManifestDesignerService3 =
interface
interface IAppxManifestDesignerService2
end
public interface IAppxManifestDesignerService3 extends IAppxManifestDesignerService2
Methods
Name | Description | |
---|---|---|
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. |
Top
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.