ProtocolNameToType static method

OutlookProtocolType? ProtocolNameToType(
  1. String? protocolName
)
Convert protocol name to protocol type. Name of the protocol.

Implementation

/* private */
static OutlookProtocolType? ProtocolNameToType(String? protocolName) {
  OutlookProtocolType? protocolType;
  if (!protocolNameToTypeMap.Member!.containsKey(protocolName)) {
    protocolType = OutlookProtocolType.Unknown;
  }
  return protocolType;
}