Click to Rate and Give Feedback
MSDN
MSDN Library

  Switch on low bandwidth view
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)

Visual Basic
Dim documentProperty1 As DocumentProperty

Dim returnValue As String
returnValue = documentProperty1.LinkSource

Dim sampleValue As String
documentProperty1.LinkSource = sampleValue
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);

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.


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

Development Platforms

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

Target Platforms

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker