EntityPropertyMappingAttribute.TargetTextContentKind プロパティ

定義

EntityPropertyMappingAttributeによってマップされるプロパティのコンテンツの種類を取得します。

public:
 property System::Data::Services::Common::SyndicationTextContentKind TargetTextContentKind { System::Data::Services::Common::SyndicationTextContentKind get(); };
public System.Data.Services.Common.SyndicationTextContentKind TargetTextContentKind { get; }
member this.TargetTextContentKind : System.Data.Services.Common.SyndicationTextContentKind
Public ReadOnly Property TargetTextContentKind As SyndicationTextContentKind

プロパティ値

フィード要素内のコンテンツの種類を識別する文字列。

注釈

配信コンテンツにマッピングする場合、このプロパティは配信アイテムのコンテンツ タイプです。

TargetTextContentKind属性に Xhtml の値を指定する場合は、プロパティ値に適切な形式の XML が含まれていることを確認する必要があります。 データ サービスは、変換を実行せずに値を返します。 また、返される XML 内のすべての XML 要素プレフィックスに、マップされたフィードで定義された名前空間 URI とプレフィックスがあることを確認する必要があります。

適用対象