TextSyndicationContent Constructores

Definición

Inicializa una nueva instancia de TextSyndicationContent.

Sobrecargas

TextSyndicationContent(TextSyndicationContent)

Inicializa una nueva instancia de TextSyndicationContent con la instancia de TextSyndicationContent especificada.

TextSyndicationContent(String)

Inicializa una nueva instancia de la clase TextSyndicationContent con el texto especificado.

TextSyndicationContent(String, TextSyndicationContentKind)

Inicializa una nueva instancia del TextSyndicationContent con el texto especificado y TextSyndicationContentKind.

TextSyndicationContent(TextSyndicationContent)

Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs

Inicializa una nueva instancia de TextSyndicationContent con la instancia de TextSyndicationContent especificada.

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)

Parámetros

Se aplica a

TextSyndicationContent(String)

Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs

Inicializa una nueva instancia de la clase TextSyndicationContent con el texto especificado.

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)

Parámetros

text
String

El texto del contenido.

Ejemplos

El siguiente ejemplo muestra cómo llamar a este constructor.

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>

Se aplica a

TextSyndicationContent(String, TextSyndicationContentKind)

Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs
Source:
TextSyndicationContent.cs

Inicializa una nueva instancia del TextSyndicationContent con el texto especificado y 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)

Parámetros

text
String

El texto del contenido.

textKind
TextSyndicationContentKind

TextSyndicationContentKind que describe el contenido.

Ejemplos

El siguiente ejemplo muestra cómo llamar a este constructor.

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

Comentarios

El parámetro TextSyndicationContentKind puede establecerse en uno de los valores siguientes:

Se aplica a