TextSyndicationContent Constructor (String, TextSyndicationContentKind)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the TextSyndicationContent with the specified text and TextSyndicationContentKind.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public Sub New ( _
text As String, _
textKind As TextSyndicationContentKind _
)
public TextSyndicationContent(
string text,
TextSyndicationContentKind textKind
)
Parameters
- text
Type: System.String
The text of the content.
- textKind
Type: System.ServiceModel.Syndication.TextSyndicationContentKind
The TextSyndicationContentKind that describes the content.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.