AtomPub10ServiceDocumentFormatter<TServiceDocument> クラス

定義

Atom 1.0 形式を使用して XML との間で ServiceDocument インスタンスから派生したクラスをシリアル化するフォーマッタ。

generic <typename TServiceDocument>
 where TServiceDocument : ServiceDocumentgcnew()public ref class AtomPub10ServiceDocumentFormatter : System::ServiceModel::Syndication::AtomPub10ServiceDocumentFormatter
public class AtomPub10ServiceDocumentFormatter<TServiceDocument> : System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter where TServiceDocument : ServiceDocument, new()
type AtomPub10ServiceDocumentFormatter<'ServiceDocument (requires 'ServiceDocument :> ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))> = class
    inherit AtomPub10ServiceDocumentFormatter
Public Class AtomPub10ServiceDocumentFormatter(Of TServiceDocument)
Inherits AtomPub10ServiceDocumentFormatter

型パラメーター

TServiceDocument

Atom 1.0 形式を使用して XML にシリアル化または XML から逆シリアル化される ServiceDocument インスタンスから派生したクラス。

継承
AtomPub10ServiceDocumentFormatter<TServiceDocument>

注釈

ServiceDocumentのインスタンスから派生したオブジェクトではなく、ServiceDocument インスタンスをシリアル化または逆シリアル化する場合は、代わりに AtomPub10ServiceDocumentFormatter フォーマッタを使用します。

コンストラクター

名前 説明
AtomPub10ServiceDocumentFormatter<TServiceDocument>()

ServiceDocumentFormatter クラスの新しいインスタンスを作成します。

AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument)

Atom 1.0 ベースの ServiceDocumentFormatter クラスの新しいインスタンスを作成します。

プロパティ

名前 説明
Document

フォーマッタに関連付けられている ServiceDocument を取得します。

(継承元 ServiceDocumentFormatter)
Version

Atom Publishing Protocol 名前空間の名前を取得します。

(継承元 AtomPub10ServiceDocumentFormatter)

メソッド

名前 説明
CanRead(XmlReader)

指定した XML リーダーに有効なサービス ドキュメントが含まれているかどうかをテストします。

(継承元 AtomPub10ServiceDocumentFormatter)
CreateDocumentInstance()

Atom 1.0 フォーマッタに関連付けられた新しい ServiceDocument インスタンスを作成します。

Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ReadFrom(XmlReader)

指定した XML リーダーから ServiceDocument オブジェクトを生成します。

(継承元 AtomPub10ServiceDocumentFormatter)
SetDocument(ServiceDocument)

書き込む ServiceDocument を設定します。

(継承元 ServiceDocumentFormatter)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)
WriteTo(XmlWriter)

フォーマッタに関連付けられている ServiceDocument オブジェクトを、指定した XML ライターに書き込みます。

(継承元 AtomPub10ServiceDocumentFormatter)

明示的なインターフェイスの実装

名前 説明
IXmlSerializable.GetSchema()

このメソッドは予約されているため、使用しないでください。

(継承元 AtomPub10ServiceDocumentFormatter)
IXmlSerializable.ReadXml(XmlReader)

XML 表現から ServiceDocument を生成します。

(継承元 AtomPub10ServiceDocumentFormatter)
IXmlSerializable.WriteXml(XmlWriter)

ServiceDocumentを XML 表現に変換します。

(継承元 AtomPub10ServiceDocumentFormatter)

適用対象