Sdílet prostřednictvím


SyndicationItemFormatter.TryParseAttribute Metoda

Definice

Pokusí se analyzovat rozšíření atributu.

Přetížení

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

Pokusí se analyzovat rozšíření atributu pomocí zadané SyndicationPerson instance.

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

Pokusí se analyzovat rozšíření atributu pomocí zadané SyndicationLink instance.

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

Pokusí se analyzovat rozšíření atributu pomocí zadané SyndicationItem instance.

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

Pokusí se analyzovat rozšíření atributu pomocí zadané SyndicationCategory instance.

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

Pokusí se analyzovat rozšíření atributu pomocí zadané SyndicationPerson instance.

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationPerson ^ person, System::String ^ version);
protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationPerson ^ person, System::String ^ version);
protected static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationPerson person, 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 Shared Function TryParseAttribute (name As String, ns As String, value As String, person As SyndicationPerson, version As String) As Boolean
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, person As SyndicationPerson, version As String) As Boolean

Parametry

name
String

Název elementu.

ns
String

Obor názvů elementu.

value
String

Atribut, který se má analyzovat.

person
SyndicationPerson

Instance SyndicationPerson , která se má použít.

version
String

Verze syndikace, která se má použít při analýze.

Návraty

Boolean

Hodnota, která označuje, zda byl atribut úspěšně analyzován.

Poznámky

Pokud chcete řídit způsob analýzy rozšíření atributů, odvozujte vlastní třídu a SyndicationPerson přepište metodu TryParseAttribute(String, String, String, String) .

Platí pro

Pokusí se analyzovat rozšíření atributu pomocí zadané SyndicationLink instance.

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationLink link, 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 Shared Function TryParseAttribute (name As String, ns As String, value As String, link As SyndicationLink, version As String) As Boolean
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, link As SyndicationLink, version As String) As Boolean

Parametry

name
String

Název elementu.

ns
String

Obor názvů elementu.

value
String

Atribut, který se má analyzovat.

link
SyndicationLink

Instance SyndicationLink , která se má použít.

version
String

Verze syndikace, která se má použít při analýze.

Návraty

Boolean

Hodnota, která označuje, zda byl atribut úspěšně analyzován.

Poznámky

Pokud chcete řídit způsob analýzy rozšíření atributů, odvozujte vlastní třídu a SyndicationLink přepište metodu TryParseAttribute(String, String, String, String) .

Platí pro

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

Pokusí se analyzovat rozšíření atributu pomocí zadané SyndicationItem instance.

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ version);
protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ version);
protected static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationItem item, 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 Shared Function TryParseAttribute (name As String, ns As String, value As String, item As SyndicationItem, version As String) As Boolean
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, item As SyndicationItem, version As String) As Boolean

Parametry

name
String

Název elementu.

ns
String

Obor názvů elementu.

value
String

Atribut, který se má analyzovat.

item
SyndicationItem

Instance SyndicationItem , která se má použít.

version
String

Verze syndikace, která se má použít při analýze.

Návraty

Boolean

Hodnota, která označuje, zda byl atribut úspěšně analyzován.

Poznámky

Pokud chcete řídit způsob analýzy rozšíření atributů, odvozujte vlastní třídu a SyndicationItem přepište metodu TryParseAttribute(String, String, String, String) .

Platí pro

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

Pokusí se analyzovat rozšíření atributu pomocí zadané SyndicationCategory instance.

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected public:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.SyndicationCategory category, 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 Shared Function TryParseAttribute (name As String, ns As String, value As String, category As SyndicationCategory, version As String) As Boolean
Protected Friend Shared Function TryParseAttribute (name As String, ns As String, value As String, category As SyndicationCategory, version As String) As Boolean

Parametry

name
String

Název elementu.

ns
String

Obor názvů elementu.

value
String

Atribut, který se má analyzovat.

category
SyndicationCategory

Instance SyndicationCategory , která se má použít.

version
String

Verze syndikace, která se má použít při analýze.

Návraty

Boolean

Hodnota, která označuje, zda byl atribut úspěšně analyzován.

Poznámky

Pokud chcete řídit způsob analýzy rozšíření atributů, odvozujte vlastní třídu a SyndicationCategory přepište metodu TryParseAttribute(String, String, String, String) .

Platí pro