[This is preliminary documentation and is subject to change.]
Initializes a new instance of MenuInfo class from a previously
saved xml document. It behaves like a default constructor if the
file does not exist or is empty.
Namespace:
OfficeClip.BusinessLayer.OfficePortal.CorpMenuAssembly: OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public MenuInfo( string filePath ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ filePath As String _ ) |
Visual C++ |
---|
public: MenuInfo( String^ filePath ) |
Parameters
- filePath
- Type: System..::.String
The fully qualified path of the xml document containing the menu details and mapping with the uploaded files.
Exceptions
Exception | Condition |
---|---|
OfficeClip.Utils..::.OCException | Raises an exception if there is an error in loading the xml document. This may happen when the xml file is manually edited and is rendered invalid. |