Aspose::Pdf::DataEditor::DictionaryEditor::TryGetValue‑metod

DictionaryEditor::TryGetValue method

För åtkomst till enkla datatyper som string, name, bool, number. Returnerar null för andra typer.

bool Aspose::Pdf::DataEditor::DictionaryEditor::TryGetValue(const System::String &key, System::SharedPtr<ICosPdfPrimitive> &value) const override
ParameterTypBeskrivning
nyckelconst System::String&Nyckelvärde
valueSystem::SharedPtr<ICosPdfPrimitive>&returnerar ICosPdfPrimitive för nyckeln eller null.

ReturnValue

Returnerar true om ICosPdfPrimitive är som string, name, bool, number. Returnerar false för alla andra typer.

Se även