ServiceDocumentFormatter.TryParseAttribute 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
尝试分析属性扩展。
重载
TryParseAttribute(String, String, String, Workspace, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
尝试分析属性扩展。
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
要分析的属性。
- version
- String
分析时要使用的联合版本。
返回
true 如果已成功分析属性扩展,则为否则,为 false.
适用于
TryParseAttribute(String, String, String, ServiceDocument, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
尝试分析属性扩展。
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
分析时要使用的联合版本。
返回
true 如果已成功分析属性扩展,则为否则,为 false.
适用于
TryParseAttribute(String, String, String, CategoriesDocument, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
尝试分析属性扩展。
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
分析时要使用的联合版本。
返回
适用于
TryParseAttribute(String, String, String, ResourceCollectionInfo, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
尝试分析属性扩展。
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
分析时要使用的联合版本。
返回
true 如果已成功分析属性扩展,则为否则,为 false.