Share via


DocumentProperty.LinkToContent Property

Determine if the value of the custom document property is linked to the content of the container document.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property LinkToContent As Boolean
    Get
    Set
'Usage
Dim instance As DocumentProperty
Dim value As Boolean

value = instance.LinkToContent

instance.LinkToContent = value
bool LinkToContent { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if the value of the custom document property is linked to the content of the container document; False if the value is static.

This property applies only to custom document properties. For built-in document properties, the value of this property is False.

Use the LinkSource property to set the source for the specified linked property. Setting the LinkSource property sets the LinkToContent property to True.

See Also

Reference

DocumentProperty Interface

DocumentProperty Members

Microsoft.Office.Core Namespace