GetOption Method (optionName, parameters)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetOption Method (optionName, parameters)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveFileStreamContextGetOption(String, array<Object>[]()[][])
Gets extended parameter information specific to the compression format being used.
Declaration Syntax
C# Visual Basic Visual C++ F#
public virtual Object GetOption(
	string optionName,
	Object[] parameters
)
Public Overridable Function GetOption ( 
	optionName As String,
	parameters As Object()
) As Object
public:
virtual Object^ GetOption(
	String^ optionName, 
	array<Object^>^ parameters
)
abstract GetOption : 
        optionName : string * 
        parameters : Object[] -> Object 
override GetOption : 
        optionName : string * 
        parameters : Object[] -> Object 
Parameters
optionName (String)
Name of the option being requested.
parameters (array<Object>[]()[][])
Parameters for the option; for per-file options, the first parameter is typically the internal file path.
Return Value
Object
Option value, or null to use the default behavior.
Remarks
This implementation does not handle any options. Subclasses may override this method to allow for non-default behavior.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)