SyndicationFeedFormatter.TryParseAttribute Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tente d’analyser une extension d’attribut.
Surcharges
| Nom | Description |
|---|---|
| TryParseAttribute(String, String, String, SyndicationPerson, String) |
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationPerson . |
| TryParseAttribute(String, String, String, SyndicationLink, String) |
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationLink . |
| TryParseAttribute(String, String, String, SyndicationFeed, String) |
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationFeed . |
| TryParseAttribute(String, String, String, SyndicationCategory, String) |
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationCategory . |
| TryParseAttribute(String, String, String, SyndicationItem, String) |
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationItem . |
TryParseAttribute(String, String, String, SyndicationPerson, String)
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationPerson .
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
Paramètres
- name
- String
Le nom de l’élément.
- ns
- String
Espace de noms de l’élément.
- value
- String
Attribut à analyser.
- person
- SyndicationPerson
Instance SyndicationPerson à utiliser.
- version
- String
Version de syndication à utiliser lors de l’analyse.
Retours
true si l’attribut a été analysé avec succès ; sinon false.
Remarques
Pour contrôler la façon dont les extensions d’attribut sont analysées, dérivez votre propre classe et SyndicationPerson remplacez la TryParseAttribute(String, String, String, String) méthode.
S’applique à
TryParseAttribute(String, String, String, SyndicationLink, String)
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationLink .
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
Paramètres
- name
- String
Le nom de l’élément.
- ns
- String
Espace de noms de l’élément.
- value
- String
Attribut à analyser.
- link
- SyndicationLink
Instance SyndicationLink à utiliser.
- version
- String
Version de syndication à utiliser lors de l’analyse.
Retours
true si l’attribut a été analysé avec succès ; sinon false.
Remarques
Pour contrôler la façon dont les extensions d’attribut sont analysées, dérivez votre propre classe et SyndicationLink remplacez la TryParseAttribute(String, String, String, String) méthode.
S’applique à
TryParseAttribute(String, String, String, SyndicationFeed, String)
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationFeed .
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
Paramètres
- name
- String
Le nom de l’élément.
- ns
- String
Espace de noms de l’élément.
- value
- String
Attribut à analyser.
- feed
- SyndicationFeed
Instance SyndicationFeed à utiliser.
- version
- String
Version de syndication à utiliser lors de l’analyse.
Retours
true si l’attribut a été analysé avec succès ; sinon false.
Remarques
Pour contrôler la façon dont les extensions d’attribut sont analysées, dérivez votre propre classe et SyndicationFeed remplacez la TryParseAttribute(String, String, String, String) méthode.
S’applique à
TryParseAttribute(String, String, String, SyndicationCategory, String)
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationCategory .
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
Paramètres
- name
- String
Le nom de l’élément.
- ns
- String
Espace de noms de l’élément.
- value
- String
Attribut à analyser.
- category
- SyndicationCategory
Instance SyndicationCategory à utiliser.
- version
- String
Version de syndication à utiliser lors de l’analyse.
Retours
true si l’attribut a été analysé avec succès ; sinon false.
Remarques
Pour contrôler la façon dont les extensions d’attribut sont analysées, dérivez votre propre classe et SyndicationCategory remplacez la TryParseAttribute(String, String, String, String) méthode.
S’applique à
TryParseAttribute(String, String, String, SyndicationItem, String)
Tente d’analyser une extension d’attribut à l’aide de l’instance spécifiée SyndicationItem .
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
Paramètres
- name
- String
Le nom de l’élément.
- ns
- String
Espace de noms de l’élément.
- value
- String
Attribut à analyser.
- item
- SyndicationItem
Instance SyndicationItem à utiliser.
- version
- String
Version de syndication à utiliser lors de l’analyse.
Retours
true si l’attribut a été analysé avec succès ; sinon false.
Remarques
Pour contrôler la façon dont les extensions d’attribut sont analysées, dérivez votre propre classe et SyndicationItem remplacez la TryParseAttribute(String, String, String, String) méthode.