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 a specified built-in property. The value can be one of the following types, depending on the property: String, Double, Integer, Boolean or DateTime.

Signature
C#
C#
 public System.Object this[BuiltIn property] { get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Default Property Item(ByVal [property] As BuiltIn) As Object
{signature}
{parameters}
{param:property}The built\-in property.{param}
{returns}The value of the built\-in property.{returns}
{example}{code:csharp|title=C#}
Parameters
Param
property
property

The built-in property.

Returns

The value of the built-in property.

Example
Code Block
csharp
csharp
titleC#


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

          //--- Set Property
          docProps[DocumentProperties.BuiltIn.Title] = "xlw";
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


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

          '--- Set Property
          docProps(DocumentProperties.BuiltIn.Title) = "xlw"
        
{code} {example}