Aspose::Pdf::CollectionItem::TryGetTextValue method

CollectionItem::TryGetTextValue method

Tries to get the text value with the specified name from the collection item.

bool Aspose::Pdf::CollectionItem::TryGetTextValue(const System::String &name, System::SharedPtr<CollectionItem::Value<System::String>> &value)
ParameterTypeDescription
nameconst System::String&The name of the text value.
valueSystem::SharedPtr<CollectionItem::Value<System::String>>&When this method returns, contains the text value associated with the specified name, if the name is found; otherwise, null.

ReturnValue

true if the text value with the specified name is found; otherwise, false.

See Also