Public Class Constants
    ' Primitive Types
    Public Const INDEX_TYPE_UNDEFINED = 0
    Public Const INDEX_TYPE_STRING = 1
    Public Const INDEX_TYPE_INTEGER = 2
    Public Const INDEX_TYPE_FLOAT = 3
    Public Const INDEX_TYPE_BOOLEAN = 4
    Public Const INDEX_TYPE_DATE = 5
    Public Const INDEX_TYPE_FIXED_POINT = 6
    Public Const INDEX_TYPE_DATE_TIME = 7
    Public Const INDEX_TYPE_CURRENCY = 8
    Public Const INDEX_TYPE_TIME = 9
    Public Const INDEX_TYPE_VARIANT = 10

    ' Vector Types
    Public Const INDEX_TYPE_VECTOR_STRING = 4097
    Public Const INDEX_TYPE_VECTOR_INTEGER = 4098
    Public Const INDEX_TYPE_VECTOR_FLOAT = 4099
    Public Const INDEX_TYPE_VECTOR_BOOLEAN = 4100
    Public Const INDEX_TYPE_VECTOR_DATE = 4101
    Public Const INDEX_TYPE_VECTOR_FIXED_POINT = 4102
    Public Const INDEX_TYPE_VECTOR_DATE_TIME = 4103
    Public Const INDEX_TYPE_VECTOR_CURRENCY = 4014
    Public Const INDEX_TYPE_VECTOR_TIME = 4105
    Public Const INDEX_TYPE_VECTOR_INTEGER_64BIT = 4107

    ' Special Types
    Public Const INDEX_TYPE_FULLTEXT = 8193
    Public Const INDEX_TYPE_HASH = 36865

    ' Misc Types / Unknown Types
    Public Const INDEX_TYPE_MASK = &HFFF
    Public Const INDEX_FLAG_MASK = &HFFFFF000
    Public Const INDEX_TYPE_VECTOR = &H1000
    Public Const INDEX_TYPE_DEFAULT_VALUE = &H4000
    'Single Index Types
    Public Const WMObjectVariableValueTypeUndefined = 0

    'History Tags
    Public Const HISTORY_NEW_FROM_VERSION = "HISTORY_New_From_Version"
    Public Const HISTORY_USER_DEFINED = "HISTORY_User_Defined"


    ' Entity Types
    Public Const ENTITY_TYPE_OBJECTTYPE = 10

    'Search Types
    Public Const SEARCH_TYPE_QUICK_SEARCH = "WMOSRCH.WMQUICKSEARCH"
    Public Const SEARCH_TYPE_INDEX_SEARCH = "WMOSRCH.WMINDEXSEARCH"
    Public Const SEARCH_TYPE_OBJECTTYPE_SEARCH = "WMOSRCH.WMOBJECTTYPESEARCH"

    ' Attribute Types
    Public Const ATTRIBUTE_TYPE_SYSTEMINDEX = 1
    Public Const ATTRIBUTE_TYPE_TYPEINDEX = 2

    ' Misc
    Public Const OBJECT_TYPE_DEFAULT = "Standard"
    Public Const DELETE_ATTRIBUTE_VALUE = "DeleteWMAttributeValue"

    ' File Stream
    Public Const STREAM_BINARY_OBJECT = "BinaryObject"
    Public Const STREAM_OPEN_MODE_READ_WRITE = 2

    ' COM Events
    Public Const COM_EVENT_SESSION_NEED_INDEX = 1

    ' Regexes
    Public Const REGEX_CLEAN_FILENAME As String = "[?*^""<>|]"
End Class
