FeaturedContentCollection.AddFeaturedContent Method (String, Context)
Adds visual best bet (featured content) with the specified name 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, _
cx As Context _
) As FeaturedContent
'Usage
Dim instance As FeaturedContentCollection
Dim name As String
Dim cx As Context
Dim returnValue As FeaturedContent
returnValue = instance.AddFeaturedContent(name, _
cx)
FeaturedContent AddFeaturedContent(
string name,
Context cx
)
Parameters
name
Type: System.StringThe name of the featured content.
cx
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.ContextThe context to which the visual best bet (featured content) is to be attached.
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