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

适用于