ServiceDocumentFormatter.TryParseAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to parse an attribute extension.
Overloads
TryParseAttribute(String, String, String, Workspace, String) |
Attempts to parse an attribute extension. |
TryParseAttribute(String, String, String, ServiceDocument, String) |
Attempts to parse an attribute extensions. |
TryParseAttribute(String, String, String, CategoriesDocument, String) |
Attempts to parse an attribute extension. |
TryParseAttribute(String, String, String, ResourceCollectionInfo, String) |
Attempts to parse an attribute extension. |
TryParseAttribute(String, String, String, Workspace, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
Attempts to parse an attribute extension.
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
Parameters
- name
- String
The name of the element.
- ns
- String
The namespace of the element.
- value
- String
The attribute to parse.
- version
- String
The syndication version to use when parsing.
Returns
true
if the attribute extension was parsed successfully; otherwise, false
.
Applies to
TryParseAttribute(String, String, String, ServiceDocument, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
Attempts to parse an attribute extensions.
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
Parameters
- name
- String
The name of the element.
- ns
- String
The namespace of the element.
- value
- String
The attribute extension to parse.
- document
- ServiceDocument
The ServiceDocument to use to parse the attribute extension.
- version
- String
The syndication version to use when parsing.
Returns
true
if the attribute extension was parsed successfully; otherwise, false
.
Applies to
TryParseAttribute(String, String, String, CategoriesDocument, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
Attempts to parse an attribute extension.
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
Parameters
- name
- String
The name of the element.
- ns
- String
The namespace of the element.
- value
- String
The attribute to parse.
- categories
- CategoriesDocument
The CategoriesDocument to use to parse the attribute extension.
- version
- String
The syndication version to use when parsing.
Returns
true
if the attribute extension was successfully parsed.
Applies to
TryParseAttribute(String, String, String, ResourceCollectionInfo, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
Attempts to parse an attribute extension.
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
Parameters
- name
- String
The name of the element.
- ns
- String
The namespace of the element.
- value
- String
The attribute to parse.
- collection
- ResourceCollectionInfo
The ResourceCollectionInfo to use to parse the attribute.
- version
- String
The syndication version to use when parsing.
Returns
true
if the attribute extension was parsed successfully; otherwise, false
.
Applies to
.NET