Aspose::Pdf::DataEditor::DictionaryEditor::TryGetValue method

DictionaryEditor::TryGetValue method

Для доступа к простым типам данных, таким как string, name, bool, number. Возвращает null для других типов.

bool Aspose::Pdf::DataEditor::DictionaryEditor::TryGetValue(const System::String &key, System::SharedPtr<ICosPdfPrimitive> &value) const override
ПараметрТипОписание
ключconst System::String&Значение ключа
valueSystem::SharedPtr<ICosPdfPrimitive>&возвращает ICosPdfPrimitive для ключа или null.

ReturnValue

Возвращает true, если ICosPdfPrimitive является строкой, именем, bool или числом. Возвращает false для всех остальных типов.

См. также