Taal

TextSyndicationContent Constructors

Definitie

Initialiseert een nieuw exemplaar van de TextSyndicationContent.

Overloads

Naam Description
TextSyndicationContent(TextSyndicationContent)

Initialiseert een nieuw exemplaar van de TextSyndicationContent instantie met het opgegeven TextSyndicationContent exemplaar.

TextSyndicationContent(String)

Initialiseert een nieuw exemplaar van de TextSyndicationContent met de opgegeven tekst.

TextSyndicationContent(String, TextSyndicationContentKind)

Initialiseert een nieuw exemplaar van de TextSyndicationContent met de opgegeven tekst en TextSyndicationContentKind.

TextSyndicationContent(TextSyndicationContent)

Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs

Initialiseert een nieuw exemplaar van de TextSyndicationContent instantie met het opgegeven TextSyndicationContent exemplaar.

protected:
 TextSyndicationContent(System::ServiceModel::Syndication::TextSyndicationContent ^ source);
protected TextSyndicationContent(System.ServiceModel.Syndication.TextSyndicationContent source);
new System.ServiceModel.Syndication.TextSyndicationContent : System.ServiceModel.Syndication.TextSyndicationContent -> System.ServiceModel.Syndication.TextSyndicationContent
Protected Sub New (source As TextSyndicationContent)

Parameters

Van toepassing op

TextSyndicationContent(String)

Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs

Initialiseert een nieuw exemplaar van de TextSyndicationContent met de opgegeven tekst.

public:
 TextSyndicationContent(System::String ^ text);
public TextSyndicationContent(string text);
new System.ServiceModel.Syndication.TextSyndicationContent : string -> System.ServiceModel.Syndication.TextSyndicationContent
Public Sub New (text As String)

Parameters

text
String

De tekst van de inhoud.

Voorbeelden

In het volgende voorbeeld ziet u hoe u deze constructor aanroept.

TextSyndicationContent textContent = new TextSyndicationContent("Some text content");
Dim textContent As TextSyndicationContent = New TextSyndicationContent("Some text content")
<a10:author>
  <a10:name>Lene Aalling</a10:name>
  <a10:uri>http://Lene/Aalling</a10:uri>
  <a10:email>lene@company.com</a10:email>
</a10:author>
  <a10:contributor>
  <a10:name>Jesper Aaberg</a10:name>
  <a10:uri>http://Jesper/Aaberg</a10:uri>
  <a10:email>jesper@company.com</a10:email>
</a10:contributor>

Van toepassing op

TextSyndicationContent(String, TextSyndicationContentKind)

Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs
Bron:
TextSyndicationContent.cs

Initialiseert een nieuw exemplaar van de TextSyndicationContent met de opgegeven tekst en TextSyndicationContentKind.

public:
 TextSyndicationContent(System::String ^ text, System::ServiceModel::Syndication::TextSyndicationContentKind textKind);
public TextSyndicationContent(string text, System.ServiceModel.Syndication.TextSyndicationContentKind textKind);
new System.ServiceModel.Syndication.TextSyndicationContent : string * System.ServiceModel.Syndication.TextSyndicationContentKind -> System.ServiceModel.Syndication.TextSyndicationContent
Public Sub New (text As String, textKind As TextSyndicationContentKind)

Parameters

text
String

De tekst van de inhoud.

textKind
TextSyndicationContentKind

De TextSyndicationContentKind inhoud wordt beschreven.

Voorbeelden

In het volgende voorbeeld ziet u hoe u deze constructor aanroept.

TextSyndicationContent textContent2 = new TextSyndicationContent("Some text content", TextSyndicationContentKind.Plaintext);
Dim textContent2 As TextSyndicationContent = New TextSyndicationContent("Some text content", TextSyndicationContentKind.Plaintext)

Opmerkingen

De TextSyndicationContentKind parameter kan worden ingesteld op een van de volgende waarden:

Van toepassing op