Opalis Quick Integration Kit 3.0
Gets the value of the inputs as the specified type.

Namespace:  Opalis.QuickIntegrationKit
Assembly:  Opalis.QuickIntegrationKit(in Opalis.QuickIntegrationKit.dll) Version: 3.0.0.0 (3.1.0.1)

Syntax

C#
Object 
As(
	
Type 
type
)
Visual Basic (Declaration)
Function 
As ( _
	
type 
As 
Type _
) 
As 
Object
Visual C++
Object^ 
As(
	
Type^ 
type
)

Parameters

type
Type: System . . :: . Type
The type of object

Return Value

The input value converted to the specified type

Examples

CopyC#
public 
void Execute(IOpalisRequest
request, IOpalisResponse response) 
{
	FileInfo file = (FileInfo)request.Inputs[
"File"].As(
typeof(FileInfo));

return file.Length;
}

See Also