Aspose::Pdf::DataEditor::CosPdfDictionary::TryGetValue метод
CosPdfDictionary::TryGetValue method
Для доступа к простым типам данных, таким как string, name, bool, number. Возвращает null для других типов.
bool Aspose::Pdf::DataEditor::CosPdfDictionary::TryGetValue(const System::String &key, System::SharedPtr<ICosPdfPrimitive> &value) const override
| Параметр | Тип | Описание |
|---|---|---|
| ключ | const System::String& | Значение ключа |
| value | System::SharedPtr<ICosPdfPrimitive>& | возвращает ICosPdfPrimitive для ключа или null. |
ReturnValue
Возвращает true, если ICosPdfPrimitive является строкой, именем, bool или числом. Возвращает false для всех остальных типов.
См. также
- Class String
- Typedef SharedPtr
- Class ICosPdfPrimitive
- Class CosPdfDictionary
- Namespace Aspose::Pdf::DataEditor
- Library Aspose.PDF for C++