EncodeTypes.TryParse

EncodeTypes.TryParse method

Converts the string representation of a BaseEncodeType to its instance. A return value indicates whether the conversion succeeded or failed.

public static bool TryParse(string parsingType, out BaseEncodeType result)
ParameterTypeDescription
parsingTypeStringA string in the format as “Index:-1; Name:None” to convert.
resultBaseEncodeType&An actual SingleEncodeType returns, when conversion has completed successfully;

Return Value

true if s was converted successfully; otherwise, false.

See Also