Microsoft DirectX 8.1 (Visual Basic)

DirectXFileObject.GetId

Retrieves the globally unique identifier (GUID) that identifies a Microsoft® DirectX® file object.

object.GetId() As String

Parts

object
Object expression that resolves to a DirectXFileObject object.

Return Values

Returns a String containing the object's GUID.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DXFILEERR_BADVALUE.

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

Applies To

This method applies to the following classes, which implement methods from DirectXFileObject.

Remarks

Returns a String value containing the file's GUID.