共用方式為


ServiceDocumentFormatter.TryParseElement 方法

定義

嘗試剖析項目延伸。

多載

TryParseElement(XmlReader, CategoriesDocument, String)

嘗試剖析項目延伸。

TryParseElement(XmlReader, ResourceCollectionInfo, String)

嘗試剖析項目延伸。

TryParseElement(XmlReader, ServiceDocument, String)

嘗試剖析項目延伸。

TryParseElement(XmlReader, Workspace, String)

嘗試剖析項目延伸。

TryParseElement(XmlReader, CategoriesDocument, String)

來源:
ServiceDocumentFormatter.cs
來源:
ServiceDocumentFormatter.cs

嘗試剖析項目延伸。

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

參數

reader
XmlReader

要從其中讀取的 XmlReader

categories
CategoriesDocument

要用來剖析項目延伸的 CategoriesDocument

version
String

剖析時要使用的新聞訂閱版本。

傳回

若成功剖析項目延伸模組,則為 true;否則為 false

適用於

TryParseElement(XmlReader, ResourceCollectionInfo, String)

來源:
ServiceDocumentFormatter.cs
來源:
ServiceDocumentFormatter.cs

嘗試剖析項目延伸。

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

參數

reader
XmlReader

要從其中讀取的 XmlReader

collection
ResourceCollectionInfo

要用來剖析項目延伸的 ResourceCollectionInfo

version
String

剖析時要使用的新聞訂閱版本。

傳回

若成功剖析項目延伸模組,則為 true;否則為 false

適用於

TryParseElement(XmlReader, ServiceDocument, String)

來源:
ServiceDocumentFormatter.cs
來源:
ServiceDocumentFormatter.cs

嘗試剖析項目延伸。

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

參數

reader
XmlReader

要從其中讀取的 XmlReader

document
ServiceDocument

要用來剖析項目延伸的 ServiceDocument

version
String

剖析時要使用的新聞訂閱版本。

傳回

若成功剖析項目延伸模組,則為 true

適用於

TryParseElement(XmlReader, Workspace, String)

來源:
ServiceDocumentFormatter.cs
來源:
ServiceDocumentFormatter.cs

嘗試剖析項目延伸。

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

參數

reader
XmlReader

要從其中讀取的 XmlReader

workspace
Workspace

要用來剖析項目延伸的 Workspace

version
String

剖析時要使用的新聞訂閱版本。

傳回

若成功剖析項目延伸模組,則為 true;否則為 false

適用於