Gets or sets the server-relative URL of the location from which to start gathering data.
<PersonalizableAttribute(PersonalizationScope.Shared)> _ <ManagedLinkAttribute(Fixup := True)> _ <WebBrowsableAttribute(False)> _ Public Property AnchorLocation As String Get Set
Dim instance As TableOfContentsWebPart Dim value As String value = instance.AnchorLocation instance.AnchorLocation = value
[PersonalizableAttribute(PersonalizationScope.Shared)] [ManagedLinkAttribute(Fixup = true)] [WebBrowsableAttribute(false)] public string AnchorLocation { get; set; }
The Web Part shows the contents of the Web site, starting from the location indicated by this property. The AnchorLocation will automatically be corrected if the target of the AnchorLocation moves within the SharePoint Foundation system. An empty string for AnchorLocation indicates that the Web Part should be anchored at the context Web site (the Web site containing the page that includes the Web Part).