共用方式為


ServiceDocumentFormatter.TryParseAttribute 方法

定義

嘗試剖析屬性延伸。

多載

TryParseAttribute(String, String, String, Workspace, String)

嘗試剖析屬性延伸。

TryParseAttribute(String, String, String, ServiceDocument, String)

嘗試剖析屬性延伸。

TryParseAttribute(String, String, String, CategoriesDocument, String)

嘗試剖析屬性延伸。

TryParseAttribute(String, String, String, ResourceCollectionInfo, String)

嘗試剖析屬性延伸。

TryParseAttribute(String, String, String, Workspace, String)

嘗試剖析屬性延伸。

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::Workspace ^ workspace, System::String ^ version);
protected static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.Workspace workspace, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.Workspace * string -> bool
Protected Shared Function TryParseAttribute (name As String, ns As String, value As String, workspace As Workspace, version As String) As Boolean

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

workspace
Workspace

要用來剖析屬性的 Workspace

version
String

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

傳回

Boolean

若成功剖析屬性延伸模組,則為 true;否則為 false

適用於

TryParseAttribute(String, String, String, ServiceDocument, String)

嘗試剖析屬性延伸。

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::ServiceDocument ^ document, System::String ^ version);
protected static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.ServiceDocument document, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.ServiceDocument * string -> bool
Protected Shared Function TryParseAttribute (name As String, ns As String, value As String, document As ServiceDocument, version As String) As Boolean

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性延伸。

document
ServiceDocument

要用來剖析屬性延伸的 ServiceDocument

version
String

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

傳回

Boolean

若成功剖析屬性延伸模組,則為 true;否則為 false

適用於

TryParseAttribute(String, String, String, CategoriesDocument, String)

嘗試剖析屬性延伸。

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::CategoriesDocument ^ categories, System::String ^ version);
protected static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.CategoriesDocument categories, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.CategoriesDocument * string -> bool
Protected Shared Function TryParseAttribute (name As String, ns As String, value As String, categories As CategoriesDocument, version As String) As Boolean

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

categories
CategoriesDocument

要用來剖析屬性延伸的 CategoriesDocument

version
String

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

傳回

Boolean

若成功剖析屬性延伸模組,則為 true

適用於

TryParseAttribute(String, String, String, ResourceCollectionInfo, String)

嘗試剖析屬性延伸。

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::ResourceCollectionInfo ^ collection, System::String ^ version);
protected static bool TryParseAttribute (string name, string ns, string value, System.ServiceModel.Syndication.ResourceCollectionInfo collection, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.ResourceCollectionInfo * string -> bool
Protected Shared Function TryParseAttribute (name As String, ns As String, value As String, collection As ResourceCollectionInfo, version As String) As Boolean

參數

name
String

元素的名稱。

ns
String

項目的命名空間。

value
String

要剖析的屬性。

collection
ResourceCollectionInfo

要用來剖析屬性的 ResourceCollectionInfo

version
String

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

傳回

Boolean

若成功剖析屬性延伸模組,則為 true;否則為 false

適用於