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.StringThe name of the visual best bet (featured content).
uri
Type: System.UriThe 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
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace