Edit

Share via


ServiceDocumentFormatter.TryParseElement Method

Definition

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

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

reader
XmlReader

The XmlReader to read from.

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

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

reader
XmlReader

The XmlReader to read from.

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

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

reader
XmlReader

The XmlReader to read from.

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

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

reader
XmlReader

The XmlReader to read from.

workspace
Workspace

The Workspace 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