Aspose::Pdf::CollectionItem::TryGetDateTimeValue method

CollectionItem::TryGetDateTimeValue method

Tries to get the value of type DateTime from the collection item by the specified name.

bool Aspose::Pdf::CollectionItem::TryGetDateTimeValue(System::String name, System::SharedPtr<CollectionItem::Value<System::DateTime>> &value)
ParameterTypeDescription
nameSystem::StringThe name of the value to retrieve.
valueSystem::SharedPtr<CollectionItem::Value<System::DateTime>>&When this method returns, contains the value associated with the specified name, if the name is found; otherwise, null. This parameter is passed uninitialized.

ReturnValue

true if the value associated with the specified name is successfully retrieved; otherwise, false.

See Also