Table of Contents

TTMSMCPSamplingMessageContentTypeHelper.FromString Method

Converts a protocol payload-kind name into the matching value.

API unit family: TMS.MCP.Sampling Declaring type: TTMSMCPSamplingMessageContentTypeHelper

Syntax

class function FromString(const AType: string): TTMSMCPSamplingMessageContentType; static;

Remarks

Raises an exception when the name is not one of the known payload kinds.

Parameters

Name Description
AType Payload-kind name to convert, compared case-insensitively.

Returns

The matching value.