ManagedLinkAttribute class

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

Inheritance hierarchy


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


<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class ManagedLinkAttribute _
    Inherits Attribute
Dim instance As ManagedLinkAttribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class ManagedLinkAttribute : Attribute


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.

See also


ManagedLinkAttribute members

Microsoft.SharePoint.WebPartPages namespace