Deployment Tools Foundation
GetOption Method (optionName, parameters)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► IPackStreamContext ► GetOption(String, array<Object>[]()[][])
Gets extended parameter information specific to the compression
format being used.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Object GetOption( string optionName, Object[] parameters )
Function GetOption ( optionName As String, parameters As Object() ) As Object
Object^ GetOption( String^ optionName, array<Object^>^ parameters )
Return Value
Object
Option value, or null to use the default behavior.
Option value, or null to use the default behavior.
Remarks
This method provides a way to set uncommon options during packaging, or a
way to handle aspects of compression formats not supported by the base library.
For example, this may be used by the zip compression library to specify different compression methods/levels on a per-file basis.
The available option names, parameters, and expected return values should be documented by each compression library.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)