共用方式為


SyndicationItemFormatter.TryParseAttribute 方法

定義

嘗試剖析屬性延伸。

多載

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

使用指定的 SyndicationPerson 執行個體嘗試剖析屬性延伸。

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

使用指定的 SyndicationLink 執行個體嘗試剖析屬性延伸。

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

使用指定的 SyndicationItem 執行個體嘗試剖析屬性延伸。

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

使用指定的 SyndicationCategory 執行個體嘗試剖析屬性延伸。

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

使用指定的 SyndicationPerson 執行個體嘗試剖析屬性延伸。

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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

person
SyndicationPerson

要使用的 SyndicationPerson 執行個體。

version
String

剖析時要使用的新聞訂閱版本。

傳回

Boolean

表示是否已成功剖析屬性的值。

備註

若要控制屬性延伸剖析的方式,請從 SyndicationPerson 衍生您自己的類別,並覆寫 TryParseAttribute(String, String, String, String) 方法。

適用於

使用指定的 SyndicationLink 執行個體嘗試剖析屬性延伸。

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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

link
SyndicationLink

要使用的 SyndicationLink 執行個體。

version
String

剖析時要使用的新聞訂閱版本。

傳回

Boolean

表示是否已成功剖析屬性的值。

備註

若要控制屬性延伸剖析的方式,請從 SyndicationLink 衍生您自己的類別,並覆寫 TryParseAttribute(String, String, String, String) 方法。

適用於

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

使用指定的 SyndicationItem 執行個體嘗試剖析屬性延伸。

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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

item
SyndicationItem

要使用的 SyndicationItem 執行個體。

version
String

剖析時要使用的新聞訂閱版本。

傳回

Boolean

表示是否已成功剖析屬性的值。

備註

若要控制屬性延伸剖析的方式,請從 SyndicationItem 衍生您自己的類別,並覆寫 TryParseAttribute(String, String, String, String) 方法。

適用於

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

使用指定的 SyndicationCategory 執行個體嘗試剖析屬性延伸。

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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

category
SyndicationCategory

要使用的 SyndicationCategory 執行個體。

version
String

剖析時要使用的新聞訂閱版本。

傳回

Boolean

表示是否已成功剖析屬性的值。

備註

若要控制屬性延伸剖析的方式,請從 SyndicationCategory 衍生您自己的類別,並覆寫 TryParseAttribute(String, String, String, String) 方法。

適用於