Table of Contents

TTMSMCPSamplingContextIncludeTypeHelper.FromString Method

Converts a protocol context-scope name into the matching value.

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

Syntax

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

Remarks

Raises an exception when the name is not one of the three known scopes.

Parameters

Name Description
AType Context-scope name to convert, compared case-insensitively.

Returns

The matching value.