AppManifest.FromXml Method (2003 System)
Loads the application manifest with information from an XML string.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
Public Sub FromXml ( _
manifest As String _
)
'Usage
Dim instance As AppManifest
Dim manifest As String
instance.FromXml(manifest)
public void FromXml(
string manifest
)
Parameters
- manifest
Type: System.String
The XML string to load into the application manifest.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | manifest is nulla null reference (Nothing in Visual Basic) or an empty string. |
InvalidManifestException | manifest is not a valid application manifest. |
Remarks
This method ignores any information in the manifest parameter that does not conform to the application manifest schema for Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0) solutions. For a description of the application manifest schema, see Application Manifests for Office Solutions (2003 System).
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.Runtime Namespace