C# Class MAPIInspector.Parsers.LexicalTypeHelper

Supply help functions for lexical enumerations.
显示文件 Open project: OfficeDev/Office-Inspectors-for-Fiddler

Public Methods

Method Description
IsCodePageType ( ushort type ) : bool

Indicate whether a ushort value is a codePage property type.

IsFixedType ( PropertyDataType type ) : bool

Indicate whether a property type value of any type that has a fixed length.

IsMVType ( PropertyDataType type ) : bool

Indicate whether a PropertyDataType is a multi-valued property type.

IsMetaPropertyID ( ushort id ) : bool

Indicate whether a PropertyID is a Meta property ID.

IsVarType ( PropertyDataType type ) : bool

Indicate whether a PropertyDataType is either PtypString, PtypString8 or PtypBinary, PtypServerId, or PtypObject.

Private Methods

Method Description
LexicalTypeHelper ( ) : System

Initializes static members of the LexicalTypeHelper class.

Method Details

IsCodePageType() public static method

Indicate whether a ushort value is a codePage property type.
public static IsCodePageType ( ushort type ) : bool
type ushort A ushort value.
return bool

IsFixedType() public static method

Indicate whether a property type value of any type that has a fixed length.
public static IsFixedType ( PropertyDataType type ) : bool
type PropertyDataType A property type.
return bool

IsMVType() public static method

Indicate whether a PropertyDataType is a multi-valued property type.
public static IsMVType ( PropertyDataType type ) : bool
type PropertyDataType A PropertyDataType.
return bool

IsMetaPropertyID() public static method

Indicate whether a PropertyID is a Meta property ID.
public static IsMetaPropertyID ( ushort id ) : bool
id ushort A ushort value.
return bool

IsVarType() public static method

Indicate whether a PropertyDataType is either PtypString, PtypString8 or PtypBinary, PtypServerId, or PtypObject.
public static IsVarType ( PropertyDataType type ) : bool
type PropertyDataType A PropertyDataType.
return bool