QuickLink Class

The QuickLink class represents a quick link.

System.Object

   Microsoft.SharePoint.Portal.UserProfiles.QuickLink

Public Methods

The following table shows the methods of the QuickLink class and a brief description of each.

Name Description
Commit Saves changes made to a quick link to the user profile data store

Public Properties

The following table shows the properties of the QuickLink class, the data type of each property, and a brief description of each.

Name Data Type Description
ContentClass String Gets or sets the the icon that is displayed. If the value of this property is blank, then the file extension determines the icon that is displayed.
Group String Gets or sets the group name by which a link is organized
IsUrlEditable Boolean Gets a value indicating whether the URL property of a specified link is editable
LinkID Int32 Gets the identifier for the current QuickLink object
PersonEmail String Gets the e-mail address for the user where the quick link is a link to a person user profile
PersonID System.Guid Gets the GUID of the user profile to which a link refers
Public Boolean Gets or sets a value indicating whether the link is displayed on the public view of the My Links list. Public links are visible to other users and will be displayed on the public view of your personal site.
Title String Gets or sets the title of the link that appears in the list of My Links on a user profile
URL String Gets or sets the URL of the link that appears in the list of My Links on a user profile

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Example

The following code example shows the use of the QuickLinks class.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security