Click or drag to resize
ZenophSMSmessageTypeToString Method
Converts a MSGTYPE enumerator to a System.String object.

Namespace: Zenoph.SMSLib
Assembly: Zenoph.SMSLib (in Zenoph.SMSLib.dll) Version: 2015.9.30.0 (2015.09.30.0)
Syntax
public static string messageTypeToString(
	MSGTYPE type
)

Parameters

type
Type: Zenoph.SMSLib.EnumsMSGTYPE
The MSGTYPE enumerator for which its System.String representation should be returned.

Return Value

Type: String
Returns System.String representation of MSGTYPE enumerator.
Exceptions
ExceptionCondition
Exception Thrown if type is not a MSGTYPE enumerator or when user authentication has not been performed.
Remarks

This method can be called if a string representation of any of the MSGTYPE enumeration is needed so that it can be shown, for instance, in GUI forms. A string representation of all the MSGTYPE enumeration can also be obtained by calling the static method getMessageTypes.

User authentication must be performed for message types to be loaded into memory before calling this method otherwise Exception will be thrown.

See Also