Office Core Primary Interop Assembly Reference
DocumentProperty.LinkSource Property
Returns or sets the source of a linked custom document property.

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

Usage

Visual Basic
Dim documentProperty1 As DocumentProperty

Dim returnValue As String
returnValue = documentProperty1.LinkSource

Dim sampleValue As String
documentProperty1.LinkSource = sampleValue
Syntax

Visual Basic
Property LinkSource() As String
C#
string LinkSource {get; set;}
C++
property String^ LinkSource{
	String^ get();
	Void set(String^);
}
J#
public System.String get_LinkSource();
public void set_LinkSource(System.String);
JScript
function get LinkSource() : String;
function set LinkSource(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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Page view tracker