ManagedLinkAttribute Class
Represents an attribute that is specified on properties containing URLs that should participate in link fixup.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.SharePoint.WebPartPages.ManagedLinkAttribute
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class ManagedLinkAttribute _
Inherits Attribute
'Usage
Dim instance As ManagedLinkAttribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class ManagedLinkAttribute : Attribute
Remarks
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.
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.