Share via


FeaturedContentCollection.AddFeaturedContent Method (String, Uri)

Adds visual best bet (featured content) with the specified name and Uri.

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 _
) As FeaturedContent
'Usage
Dim instance As FeaturedContentCollection
Dim name As String
Dim uri As Uri
Dim returnValue As FeaturedContent

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

Parameters

  • name
    Type: System.String

    The name of the visual best bet (featured content).

  • uri
    Type: System.Uri

    The URI of the visual best bet (featured content).

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.FeaturedContent
A FeaturedContent object representing the added visual best bet (featured content).

See Also

Reference

FeaturedContentCollection Interface

FeaturedContentCollection Members

AddFeaturedContent Overload

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