Message-ID: <1511169832.8323.1711641951853.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8322_1883210874.1711641951853" ------=_Part_8322_1883210874.1711641951853 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html DocumentProperties.SetCustomProperty(String, Object)

DocumentProperties.SetCustomProperty(String, Object)

Description

=20

Use SetCustomPropert= y to create a custom document property. Pass the method the name and va= lue of the property. The value can be one of the following types, depending= on the property: String, Double, Integer, Boolean, or DateTime.

=20
C#
=20
 public void SetCustomProperty(System.String key, System.Object value)
=20
=20
vb.net
=20
Public Sub SetCustomProperty(ByVal key As String, ByVal value As Object)
=20
=20

P= arameters

=20
key
= The key or name of the custom property.=20
value<= /h6> The value of the custom property.=20

Exa= mples

=20
C#
=20
docProps.SetCustomProperty("Reviewed by", "J. Smith");<=
/pre>=20
=20
vb.net
=20
docProps.SetCustomProperty("Reviewed by", "J. Smith")=20
------=_Part_8322_1883210874.1711641951853--