共用方式為


SyndicationFeedFormatter.TryParseAttribute 方法

定義

嘗試剖析屬性延伸。

多載

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

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

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

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

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

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

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

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

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

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

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

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

使用指定的 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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

person
SyndicationPerson

要使用的 SyndicationPerson 執行個體。

version
String

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

傳回

如果成功剖析屬性,則為 true;否則為 false

備註

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

適用於

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

使用指定的 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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

link
SyndicationLink

要使用的 SyndicationLink 執行個體。

version
String

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

傳回

如果成功剖析屬性,則為 true;否則為 false

備註

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

適用於

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

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

使用指定的 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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

feed
SyndicationFeed

要使用的 SyndicationFeed 執行個體。

version
String

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

傳回

如果成功剖析屬性,則為 true;否則為 false

備註

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

適用於

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

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

使用指定的 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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

category
SyndicationCategory

要使用的 SyndicationCategory 執行個體。

version
String

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

傳回

如果成功剖析屬性,則為 true;否則為 false

備註

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

適用於

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

來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs
來源:
SyndicationFeedFormatter.cs

使用指定的 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

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

item
SyndicationItem

要使用的 SyndicationItem 執行個體。

version
String

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

傳回

如果成功剖析屬性,則為 true;否則為 false

備註

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

適用於