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
name
Type: System.StringThe name of the featured content.
uri
Type: System.UriThe URI of the featured content.
context
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.ContextThe context to which the featured content is to be attached.
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
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace