Share via


DocumentProperty.LinkSource Property

Returns or sets the source of a linked custom document property.

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

Syntax

'Declaration
Property LinkSource As String
    Get
    Set
'Usage
Dim instance As DocumentProperty
Dim value As String

value = instance.LinkSource

instance.LinkSource = value
string LinkSource { get; set; }

Property Value

Type: System.String

Remarks

This property applies only to custom document properties; you cannot use it with built-in document properties.

The source of the specified link is defined by the container application.

Setting the LinkSource property sets the LinkToContent property to True.

See Also

Reference

DocumentProperty Interface

DocumentProperty Members

Microsoft.Office.Core Namespace