PdfXmpMetadata
GetPropertyDate Method
|
Convenience method to retrieve the literal value of a property.
Namespace:
Spire.Pdf.Interchange.Metadata
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public DateTime? GetPropertyDate(
string schemaNs,
string propName
)
Public Function GetPropertyDate (
schemaNs As String,
propName As String
) As DateTime?
public:
Nullable<DateTime> GetPropertyDate(
String^ schemaNs,
String^ propName
)
member GetPropertyDate :
schemaNs : string *
propName : string -> Nullable<DateTime>
Parameters
-
schemaNs
-
Type:
System
String
The namespace URI for the property. Has the same usage as in
[!:GetProperty]
.
-
propName
-
Type:
System
String
The name of the property. Has the same usage as in
[!:GetProperty]
.
Return Value
Type:
Nullable
DateTime
Returns a
IXmpDateTime
object or
null
if the property does not exist.
See Also