SyndicationText Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SyndicationText() |
Creates a new SyndicationText object. |
SyndicationText(String) |
Creates a new SyndicationText object with the specified Text property value. |
SyndicationText(String, SyndicationTextType) |
Creates a new SyndicationText object with the specified Text and Type property values. |
SyndicationText()
Creates a new SyndicationText object.
public:
SyndicationText();
SyndicationText();
public SyndicationText();
function SyndicationText()
Public Sub New ()
Applies to
SyndicationText(String)
Creates a new SyndicationText object with the specified Text property value.
public:
SyndicationText(Platform::String ^ text);
SyndicationText(winrt::hstring const& text);
public SyndicationText(string text);
function SyndicationText(text)
Public Sub New (text As String)
Parameters
- text
-
String
Platform::String
winrt::hstring
The content of a text content construct like atom:title.
See also
Applies to
SyndicationText(String, SyndicationTextType)
Creates a new SyndicationText object with the specified Text and Type property values.
public:
SyndicationText(Platform::String ^ text, SyndicationTextType type);
SyndicationText(winrt::hstring const& text, SyndicationTextType const& type);
public SyndicationText(string text, SyndicationTextType type);
function SyndicationText(text, type)
Public Sub New (text As String, type As SyndicationTextType)
Parameters
- text
-
String
Platform::String
winrt::hstring
The content of a text content construct like atom:title.
- type
- SyndicationTextType
The type of the content. This value can be "text", "html", and "xhtml".