Skip to end of metadata
Go to start of metadata

Description

Returns the value of a specified built-in 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[BuiltIn property] { get; set; }
vb.net
Public Default Property Item(ByVal [property] As BuiltIn) As Object

Parameters

property
The built-in property.

Returns

The value of the built-in property.

Examples

C#

          //--- Get Property
          Object title = docProps[DocumentProperties.BuiltIn.Title];

          //--- Set Property
          docProps[DocumentProperties.BuiltIn.Title] = "pptw";
        
vb.net

          '--- Get Property
          Dim title As Object = docProps(DocumentProperties.BuiltIn.Title)

          '--- Set Property
          docProps(DocumentProperties.BuiltIn.Title) = "pptw"
        
  • No labels