Freigeben über


SyndicationFeedFormatter.TryParseAttribute Methode

Definition

Versucht, eine Attributerweiterung zu analysieren.

Überlädt

TryParseAttribute(String, String, String, SyndicationPerson, String)

Versucht, eine Attributerweiterung mit der angegebenen SyndicationPerson-Instanz zu analysieren.

TryParseAttribute(String, String, String, SyndicationLink, String)

Versucht, eine Attributerweiterung mit der angegebenen SyndicationLink-Instanz zu analysieren.

TryParseAttribute(String, String, String, SyndicationFeed, String)

Versucht, eine Attributerweiterung mit der angegebenen SyndicationFeed-Instanz zu analysieren.

TryParseAttribute(String, String, String, SyndicationCategory, String)

Versucht, eine Attributerweiterung mit der angegebenen SyndicationCategory-Instanz zu analysieren.

TryParseAttribute(String, String, String, SyndicationItem, String)

Versucht, eine Attributerweiterung mit der angegebenen SyndicationItem-Instanz zu analysieren.

TryParseAttribute(String, String, String, SyndicationPerson, String)

Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs

Versucht, eine Attributerweiterung mit der angegebenen SyndicationPerson-Instanz zu analysieren.

protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationPerson ^ person, System::String ^ version);
protected internal static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationPerson person, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.SyndicationPerson * string -> bool
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, person As SyndicationPerson, version As String) As Boolean

Parameter

name
String

Der Name des Elements.

ns
String

Der Namespace des Elements.

value
String

Das zu analysierende Attribut.

person
SyndicationPerson

Die zu verwendende SyndicationPerson-Instanz.

version
String

Die für die Analyse zu verwendende Syndication-Version.

Gibt zurück

true, wenn das Attribut erfolgreich analysiert wurde, andernfalls false.

Hinweise

Leiten Sie zum Steuern der Analyse von Attributerweiterungen eine eigene Klasse von SyndicationPerson ab, und überschreiben Sie die TryParseAttribute(String, String, String, String)-Methode.

Gilt für:

Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs

Versucht, eine Attributerweiterung mit der angegebenen SyndicationLink-Instanz zu analysieren.

protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected internal static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationLink link, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.SyndicationLink * string -> bool
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, link As SyndicationLink, version As String) As Boolean

Parameter

name
String

Der Name des Elements.

ns
String

Der Namespace des Elements.

value
String

Das zu analysierende Attribut.

link
SyndicationLink

Die zu verwendende SyndicationLink-Instanz.

version
String

Die für die Analyse zu verwendende Syndication-Version.

Gibt zurück

true, wenn das Attribut erfolgreich analysiert wurde, andernfalls false.

Hinweise

Leiten Sie zum Steuern der Analyse von Attributerweiterungen eine eigene Klasse von SyndicationLink ab, und überschreiben Sie die TryParseAttribute(String, String, String, String)-Methode.

Gilt für:

TryParseAttribute(String, String, String, SyndicationFeed, String)

Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs

Versucht, eine Attributerweiterung mit der angegebenen SyndicationFeed-Instanz zu analysieren.

protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationFeed ^ feed, System::String ^ version);
protected internal static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationFeed feed, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.SyndicationFeed * string -> bool
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, feed As SyndicationFeed, version As String) As Boolean

Parameter

name
String

Der Name des Elements.

ns
String

Der Namespace des Elements.

value
String

Das zu analysierende Attribut.

feed
SyndicationFeed

Die zu verwendende SyndicationFeed-Instanz.

version
String

Die für die Analyse zu verwendende Syndication-Version.

Gibt zurück

true, wenn das Attribut erfolgreich analysiert wurde, andernfalls false.

Hinweise

Leiten Sie zum Steuern der Analyse von Attributerweiterungen eine eigene Klasse von SyndicationFeed ab, und überschreiben Sie die TryParseAttribute(String, String, String, String)-Methode.

Gilt für:

TryParseAttribute(String, String, String, SyndicationCategory, String)

Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs

Versucht, eine Attributerweiterung mit der angegebenen SyndicationCategory-Instanz zu analysieren.

protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected internal static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationCategory category, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.SyndicationCategory * string -> bool
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, category As SyndicationCategory, version As String) As Boolean

Parameter

name
String

Der Name des Elements.

ns
String

Der Namespace des Elements.

value
String

Das zu analysierende Attribut.

category
SyndicationCategory

Die zu verwendende SyndicationCategory-Instanz.

version
String

Die für die Analyse zu verwendende Syndication-Version.

Gibt zurück

true, wenn das Attribut erfolgreich analysiert wurde, andernfalls false.

Hinweise

Leiten Sie zum Steuern der Analyse von Attributerweiterungen eine eigene Klasse von SyndicationCategory ab, und überschreiben Sie die TryParseAttribute(String, String, String, String)-Methode.

Gilt für:

TryParseAttribute(String, String, String, SyndicationItem, String)

Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs
Quelle:
SyndicationFeedFormatter.cs

Versucht, eine Attributerweiterung mit der angegebenen SyndicationItem-Instanz zu analysieren.

protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ version);
protected internal static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationItem item, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.SyndicationItem * string -> bool
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, item As SyndicationItem, version As String) As Boolean

Parameter

name
String

Der Name des Elements.

ns
String

Der Namespace des Elements.

value
String

Das zu analysierende Attribut.

item
SyndicationItem

Die zu verwendende SyndicationItem-Instanz.

version
String

Die für die Analyse zu verwendende Syndication-Version.

Gibt zurück

true, wenn das Attribut erfolgreich analysiert wurde, andernfalls false.

Hinweise

Leiten Sie zum Steuern der Analyse von Attributerweiterungen eine eigene Klasse von SyndicationItem ab, und überschreiben Sie die TryParseAttribute(String, String, String, String)-Methode.

Gilt für: