SyndicationItemFormatter.TryParseAttribute Método

Definição

Tenta analisar uma extensão de atributo.

Sobrecargas

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

Tenta analisar uma extensão de atributo usando a instância SyndicationPerson especificada.

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

Tenta analisar uma extensão de atributo usando a instância SyndicationLink especificada.

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

Tenta analisar uma extensão de atributo usando a instância SyndicationItem especificada.

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

Tenta analisar uma extensão de atributo usando a instância SyndicationCategory especificada.

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

Tenta analisar uma extensão de atributo usando a instância SyndicationPerson especificada.

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

Parâmetros

name
String

O nome do elemento.

ns
String

O namespace do elemento.

value
String

O atributo a ser analisado.

person
SyndicationPerson

A instância SyndicationPerson a ser usada.

version
String

A versão de sindicalização para usar durante a análise.

Retornos

Boolean

Um valor que indica se o atributo foi analisado com êxito.

Comentários

Para controlar como as extensões de atributo são analisadas, derive sua própria classe SyndicationPerson e substitua o TryParseAttribute(String, String, String, String) método.

Aplica-se a

Tenta analisar uma extensão de atributo usando a instância SyndicationLink especificada.

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

Parâmetros

name
String

O nome do elemento.

ns
String

O namespace do elemento.

value
String

O atributo a ser analisado.

link
SyndicationLink

A instância SyndicationLink a ser usada.

version
String

A versão de sindicalização para usar durante a análise.

Retornos

Boolean

Um valor que indica se o atributo foi analisado com êxito.

Comentários

Para controlar como as extensões de atributo são analisadas, derive sua própria classe SyndicationLink e substitua o TryParseAttribute(String, String, String, String) método.

Aplica-se a

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

Tenta analisar uma extensão de atributo usando a instância SyndicationItem especificada.

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

Parâmetros

name
String

O nome do elemento.

ns
String

O namespace do elemento.

value
String

O atributo a ser analisado.

item
SyndicationItem

A instância SyndicationItem a ser usada.

version
String

A versão de sindicalização para usar durante a análise.

Retornos

Boolean

Um valor que indica se o atributo foi analisado com êxito.

Comentários

Para controlar como as extensões de atributo são analisadas, derive sua própria classe SyndicationItem e substitua o TryParseAttribute(String, String, String, String) método.

Aplica-se a

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

Tenta analisar uma extensão de atributo usando a instância SyndicationCategory especificada.

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

Parâmetros

name
String

O nome do elemento.

ns
String

O namespace do elemento.

value
String

O atributo a ser analisado.

category
SyndicationCategory

A instância SyndicationCategory a ser usada.

version
String

A versão de sindicalização para usar durante a análise.

Retornos

Boolean

Um valor que indica se o atributo foi analisado com êxito.

Comentários

Para controlar como as extensões de atributo são analisadas, derive sua própria classe SyndicationCategory e substitua o TryParseAttribute(String, String, String, String) método.

Aplica-se a