This documentation is archived and is not being maintained.

Visual Basic Reference

Visual Studio 6.0

AsyncType Property

See Also    Example    Applies To

Returns or sets the type of the data returned by the Value property. This property is available only as an argument of the AsyncRead method.


object.AsyncType = dataType

Part Description
object An object expression that evaluates to an object in the Applies To list.
dataType An integer specifying the data type, as shown in Settings below.


The settings for dataType are:

Constant Value Description
vbAsyncTypePicture 0 Default. Picture object.
VbAsyncTypeFile 1 The data is provided in a file created by Visual Basic.
VbAsyncTypeByteArray 2 The data is provided as a byte array that contains the retrieved data.