Method TryParse
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
TryParse(string, out DmsElementId)
Tries to parse the specified string as a DmsElementId.
public static bool TryParse(string input, out DmsElementId result)
Parameters
inputstringThe input string to parse. Format: "agentId/elementId".
resultDmsElementIdWhen this method returns, contains the parsed DmsElementId, if the parsing succeeded; otherwise, the default value.
Returns
- bool
trueif the string was parsed successfully; otherwise,false.