ManagedLinkAttribute class

Represents an attribute that is specified on properties containing URLs that should participate in link fixup.

System.Object
  System.Attribute
    Microsoft.SharePoint.WebPartPages.ManagedLinkAttribute

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class ManagedLinkAttribute _
	Inherits Attribute
'Usage
Dim instance As ManagedLinkAttribute

Used to indicate a Web Part property that can contain one or more links to files that may be on a server farm. If the farm files are moved or renamed, the link fixup should point to the new location. This attribute can be specified on properties of type String or URI, or it can implement the IList interface, in which case any String or URI entries in the list will be treated as a link that should participate in link fixup.

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