Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Returns the value of the custom property for the specified key. The return value can be of the following types, depending on the property: String, Double, Integer, Boolean or DateTime. (To create a custom property, use DocumentProperties.SetCustomProperty.)

Signature
C#
C#
 public System.Object GetCustomProperty(System.String key)
Signature
vb.net
vb.net
Public Function GetCustomProperty(ByVal key As String) As Object
Parameters
Param
key
key

The key or name of the custom property.

Returns

The value of the custom property.

Example
Code Block
csharp
csharp
titleC#
Object reviewedBy = docProps.GetCustomProperty("Reviewed by");
Code Block
vbnet
vbnet
titlevb.net
Dim reviewedBy As Object = docProps.GetCustomProperty("Reviewed by")