Version

WorkbookLoadOptions Constructor(SecureString,IPackageFactory,Boolean)

Creates a new WorkbookLoadOptions instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal openPasswordSecure As SecureString, _
   Optional ByVal packageFactory As IPackageFactory, _
   Optional ByVal verifyExcel2007Xml As Boolean _
)
public WorkbookLoadOptions( 
   SecureString openPasswordSecure,
   IPackageFactory packageFactory,
   bool verifyExcel2007Xml
)

Parameters

openPasswordSecure
The password to use to decrypt the document if it is encrypted.
packageFactory
An IPackageFactory which can be used to open an IPackage from a stream.
verifyExcel2007Xml
A boolean specifying whether or not to verify the contents of the markup against the rules defined in Part 2 of the 'Office Open XML - Open Packaging Conventions' document (see final draft, ECMA document TC45).
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also