共用方式為


ManagedLinkAttribute class

表示包含連結修復都應該參與的 Url 屬性中指定的屬性。

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

備註

用來指示可以包含一或多個檔案,可能會在伺服器陣列上連結的網頁組件屬性。如果陣列檔案移動或重新命名,連結修復應該指向新的位置。這個屬性可以指定屬性的型別StringURI,或者它可以實作IList介面,在此情況下任何StringURI項目在清單中的將會被視為連結修復都應該參與的連結。

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.

請參閱

參照

ManagedLinkAttribute members

Microsoft.SharePoint.WebPartPages namespace