Aspose::BarCode::Generation::BaseEncodeType::TryParse method

BaseEncodeType::TryParse(System::String, System::SharedPtr<BaseEncodeType>&) method

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

static bool Aspose::BarCode::Generation::BaseEncodeType::TryParse(System::String parsingType, System::SharedPtr<BaseEncodeType> &result)
ParameterTypeDescription
parsingTypeSystem::StringA string in the format as “Index:-1; Name:None” to convert.
resultSystem::SharedPtr<BaseEncodeType>&An actual SingleEncodeType returns, when conversion has completed successfully;

ReturnValue

true if s was converted successfully; otherwise, false.

Remarks

otherwise it returns null.

See Also

BaseEncodeType::TryParse(System::String, System::SharedPtr<SymbologyEncodeType>&) method

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

static bool Aspose::BarCode::Generation::BaseEncodeType::TryParse(System::String parsingType, System::SharedPtr<SymbologyEncodeType> &result)
ParameterTypeDescription
parsingTypeSystem::StringA string in the format as “Index:-1; Name:None” to convert.
resultSystem::SharedPtr<SymbologyEncodeType>&An actual SingleEncodeType returns, when conversion has completed successfully;

ReturnValue

true if s was converted successfully; otherwise, false.

Remarks

otherwise it returns null.

See Also