SyndicationItemFormatter.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, SyndicationPerson, String) |
Attempts to parse an attribute extension using the specified SyndicationPerson instance. |
TryParseAttribute(String, String, String, SyndicationLink, String) |
Attempts to parse an attribute extension using the specified SyndicationLink instance. |
TryParseAttribute(String, String, String, SyndicationItem, String) |
Attempts to parse an attribute extension using the specified SyndicationItem instance. |
TryParseAttribute(String, String, String, SyndicationCategory, String) |
Attempts to parse an attribute extension using the specified SyndicationCategory instance. |
TryParseAttribute(String, String, String, SyndicationPerson, String)
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
Attempts to parse an attribute extension using the specified SyndicationPerson instance.
protected:
static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationPerson ^ person, System::String ^ version);
protected 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 Shared Function TryParseAttribute (name As String, ns As String, value As String, person As SyndicationPerson, 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.
- person
- SyndicationPerson
The SyndicationPerson instance to use.
- version
- String
The syndication version to use when parsing.
Returns
A value that indicates whether the attribute was parsed successfully.
Remarks
To control how attribute extensions are parsed, derive your own class from SyndicationPerson and override the TryParseAttribute(String, String, String, String) method.
Applies to
TryParseAttribute(String, String, String, SyndicationLink, String)
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
Attempts to parse an attribute extension using the specified SyndicationLink instance.
protected:
static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationLink ^ link, System::String ^ version);
protected 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 Shared Function TryParseAttribute (name As String, ns As String, value As String, link As SyndicationLink, 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.
- link
- SyndicationLink
The SyndicationLink instance to use.
- version
- String
The syndication version to use when parsing.
Returns
A value that indicates whether the attribute was parsed successfully.
Remarks
To control how attribute extensions are parsed, derive your own class from SyndicationLink and override the TryParseAttribute(String, String, String, String) method.
Applies to
TryParseAttribute(String, String, String, SyndicationItem, String)
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
Attempts to parse an attribute extension using the specified SyndicationItem instance.
protected:
static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ version);
protected 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 Shared Function TryParseAttribute (name As String, ns As String, value As String, item As SyndicationItem, 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.
- item
- SyndicationItem
The SyndicationItem instance to use.
- version
- String
The syndication version to use when parsing.
Returns
A value that indicates whether the attribute was parsed successfully.
Remarks
To control how attribute extensions are parsed, derive your own class from SyndicationItem and override the TryParseAttribute(String, String, String, String) method.
Applies to
TryParseAttribute(String, String, String, SyndicationCategory, String)
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
- Source:
- SyndicationItemFormatter.cs
Attempts to parse an attribute extension using the specified SyndicationCategory instance.
protected:
static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::SyndicationCategory ^ category, System::String ^ version);
protected 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 Shared Function TryParseAttribute (name As String, ns As String, value As String, category As SyndicationCategory, 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.
- category
- SyndicationCategory
The SyndicationCategory instance to use.
- version
- String
The syndication version to use when parsing.
Returns
A value that indicates whether the attribute was parsed successfully.
Remarks
To control how attribute extensions are parsed, derive your own class from SyndicationCategory and override the TryParseAttribute(String, String, String, String) method.