Type Property

This property specifies the data type of the column.

Syntax

IColumn.Type

Remarks

The Type property can be an empty string, or one of the values in the following table..

Type VBScript VarType
BOOL vbBoolean
FILETIME vbDate
I4 vbLong
LPSTR vbString
LPWSTR vbString

Type is optional. You need not set it to function correctly with any value type returned by a filter. If you don't know the type of a property emitted by the indexing filter, or if the filter or filters for a property do not always emit the same value type, don't set Type. If Type is specified, it must match the value emitted by the filter, otherwise the value is discarded and not indexed.

Example

See Creating an IColumn Object.

See Also

Length


© 1997-1998 Microsoft Corporation. All rights reserved.