Description
Returns the value of a specified property. The value can be one of the following types, depending on the property: String, Double, Integer, Boolean or DateTime.
C#
public System.Object this[System.String propertyName] { get; set; }
vb.net
Public Default Property Item(ByVal propertyName As String) As Object
Parameters
property
The built-in property.Returns
The value of the built-in property.Examples
C#
//--- Get Property
Object application = docProps["Application"];
//--- Set Property
docProps["Application"] = "pptw";
vb.net
'--- Get Property
Dim application As Object = docProps("Application")
'--- Set Property
docProps("Application") = "pptw"
