C# Class Microsoft.Protocols.TestSuites.MS_OXCFXICS.LexicalTypeHelper

Supply help functions for lexical enumerations.
Inheritance: EnumHelper
Mostrar archivo Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
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.

IsNamedPropertyID ( ushort id ) : bool

Indicate whether a PropertyID is a named property ID.

IsTaggedPropertyID ( ushort id ) : bool

Indicate whether a PropertyID is a tagged 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.Collections.Generic

Initializes static members of the LexicalTypeHelper class.

Method Details

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

IsNamedPropertyID() public static method

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

IsTaggedPropertyID() public static method

Indicate whether a PropertyID is a tagged property ID.
public static IsTaggedPropertyID ( 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