TTMSMCPSamplingMessageRoleHelper.FromString Method
Converts a protocol speaker name into the matching value.
API unit family: TMS.MCP.Sampling
Declaring type: TTMSMCPSamplingMessageRoleHelper
Syntax
class function FromString(const ARole: string): TTMSMCPSamplingMessageRole; static;
Remarks
Raises an exception when the name is not one of the three known speakers.
Parameters
| Name | Description |
|---|---|
ARole |
Speaker name to convert, compared case-insensitively. |
Returns
The matching value.