Microsoft DirectX 8.1 (Visual Basic)

DirectXFileData.GetDataSize

Retrieves the data size of the specified member.

object.GetDataSize( _
    Name As String) As Long

Parts

object
Object expression that resolves to a DirectXFileData object.
Name
String value containing the name of the member for which to retrieve the data size.

Return Values

Returns a Long value that is set to the data size, in bytes.

Error Codes

If the method fails, an error is raised and Err.Number is set.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.