Export (0) Print
Expand All

Add(String, String, String, String, Boolean) Method

SharePoint 2003

The Add method of the QuickLinkManager class adds a quick link.

Parameters

strTitle   The title of the quick link.

strUrl   The URL of the quick link.

strGroup   The name of group for the quick link.

strContentClass    The type of content for the quick link.

bPublic   true if the quick link is public; otherwise, false.

Return Value

Microsoft.SharePoint.Portal.UserProfiles.QuickLink The QuickLink object that represents a quick link.

Remarks

The ContentClass parameter can be one of the following values:

ContentClass
m_csContentClassSPSSearchQuery ="urn:content-class:SPSSearchQuery"
m_csContentClassSPSNewsListing ="urn:content-class:SPSListing:News"
m_csContentClassSPSPeople ="urn:content-class:SPSPeople"
m_csContentClassSPSCategory ="urn:content-classes:SPSCategory"
m_csContentClassSPSListing ="urn:content-classes:SPSListing"
m_csContentClassSPSListingPerson ="urn:content-classes:SPSPersonListing"
m_csContentClassSPSListingText ="urn:content-classes:SPSTextListing"
m_csContentClassSPSListingSite ="urn:content-classes:SPSSiteListing"
m_csContentClassSPSListingSR ="urn:content-classes:SPSSiteRegistry"
m_csContentClassSTSSite ="STS_Web"
m_csContentClassSTSEvents ="STS_List_Events"
m_csContentClassSTSTasks ="STS_List_Tasks"
m_csContentClassSTSAnnouncements ="STS_List_Announcements"
m_csContentClassSTSPictureLibrary ="STS_List_PictureLibrary", // Picture library list
m_csContentClassSTSDocLibrary ="STS_List_DocumentLibrary", //doc library
m_csContentClassSTSDocLibraryItems ="STS_ListItem_DocumentLibrary" //doc lib items
m_csContentClassSTSPictureItem = "STS_ListItem_PictureLibrary", // picture library list item
m_csContentClassSTSDiscussions = "STS_List_DiscussionBoard"
m_csContentClassSTSContacts ="STS_List_Contacts"
m_csContentClassSTSListBase ="STS_List"
m_csContentClassSTSListing ="STS_List"
m_csContentClassSTSLis tingLinks ="STS_List_Links";
m_csContentCLassSTSListItem ="STS_ListItem"

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security

Show:
© 2014 Microsoft