Share via


ManagedLinkAttribute Class

Indicates a property that should be processed.

Inheritance Hierarchy

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

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

Syntax

<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

Remarks

This attribute can be specified on any property but only properties of type string or type IList will be processed. For properties of type IList all string entries in the list will be processed, all other types will be ignored.

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

Reference

ManagedLinkAttribute Members

Microsoft.SharePoint.WebPartPages Namespace