ServiceDocumentFormatter.TryParseElement 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 element extension.
Overloads
TryParseElement(XmlReader, CategoriesDocument, String) |
Attempts to parse an element extension. |
TryParseElement(XmlReader, ResourceCollectionInfo, String) |
Attempts to parse an element extension. |
TryParseElement(XmlReader, ServiceDocument, String) |
Attempts to parse an element extension. |
TryParseElement(XmlReader, Workspace, String) |
Attempts to parse an element extension. |
TryParseElement(XmlReader, CategoriesDocument, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
Attempts to parse an element extension.
protected:
static bool TryParseElement(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::CategoriesDocument ^ categories, System::String ^ version);
protected static bool TryParseElement (System.Xml.XmlReader reader, System.ServiceModel.Syndication.CategoriesDocument categories, string version);
static member TryParseElement : System.Xml.XmlReader * System.ServiceModel.Syndication.CategoriesDocument * string -> bool
Protected Shared Function TryParseElement (reader As XmlReader, categories As CategoriesDocument, version As String) As Boolean
Parameters
- categories
- CategoriesDocument
The CategoriesDocument to use to parse the element extension.
- version
- String
The syndication version to use when parsing.
Returns
true
if the element extension was parsed successfully; otherwise, false
.
Applies to
TryParseElement(XmlReader, ResourceCollectionInfo, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
Attempts to parse an element extension.
protected:
static bool TryParseElement(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::ResourceCollectionInfo ^ collection, System::String ^ version);
protected static bool TryParseElement (System.Xml.XmlReader reader, System.ServiceModel.Syndication.ResourceCollectionInfo collection, string version);
static member TryParseElement : System.Xml.XmlReader * System.ServiceModel.Syndication.ResourceCollectionInfo * string -> bool
Protected Shared Function TryParseElement (reader As XmlReader, collection As ResourceCollectionInfo, version As String) As Boolean
Parameters
- collection
- ResourceCollectionInfo
The ResourceCollectionInfo to use to parse the element extension.
- version
- String
The syndication version to use when parsing.
Returns
true
if the element extension was parsed successfully; otherwise, false
.
Applies to
TryParseElement(XmlReader, ServiceDocument, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
Attempts to parse an element extension.
protected:
static bool TryParseElement(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::ServiceDocument ^ document, System::String ^ version);
protected static bool TryParseElement (System.Xml.XmlReader reader, System.ServiceModel.Syndication.ServiceDocument document, string version);
static member TryParseElement : System.Xml.XmlReader * System.ServiceModel.Syndication.ServiceDocument * string -> bool
Protected Shared Function TryParseElement (reader As XmlReader, document As ServiceDocument, version As String) As Boolean
Parameters
- document
- ServiceDocument
The ServiceDocument to use to parse the element extension.
- version
- String
The syndication version to use when parsing.
Returns
true
if the element extension was successfully parsed.
Applies to
TryParseElement(XmlReader, Workspace, String)
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
- Source:
- ServiceDocumentFormatter.cs
Attempts to parse an element extension.
protected:
static bool TryParseElement(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::Workspace ^ workspace, System::String ^ version);
protected static bool TryParseElement (System.Xml.XmlReader reader, System.ServiceModel.Syndication.Workspace workspace, string version);
static member TryParseElement : System.Xml.XmlReader * System.ServiceModel.Syndication.Workspace * string -> bool
Protected Shared Function TryParseElement (reader As XmlReader, workspace As Workspace, version As String) As Boolean
Parameters
- version
- String
The syndication version to use when parsing.
Returns
true
if the element extension was parsed successfully; otherwise, false
.