Share via


FeaturedContentCollection.AddFeaturedContent Method (String, Uri, Context)

Adds featured content with the specified name and Uri and attach it to the specified context.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function AddFeaturedContent ( _
    name As String, _
    uri As Uri, _
    context As Context _
) As FeaturedContent
'Usage
Dim instance As FeaturedContentCollection
Dim name As String
Dim uri As Uri
Dim context As Context
Dim returnValue As FeaturedContent

returnValue = instance.AddFeaturedContent(name, _
    uri, context)
FeaturedContent AddFeaturedContent(
    string name,
    Uri uri,
    Context context
)

Parameters

  • uri
    Type: System.Uri

    The URI of the featured content.

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.FeaturedContent
A FeaturedContent object representing the added featured content.

See Also

Reference

FeaturedContentCollection Interface

FeaturedContentCollection Members

AddFeaturedContent Overload

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace