次の方法で共有


IDocumentTypeFeature<TDocumentType>.GetContentType メソッド

定義

指定したドキュメント の種類のコンテンツ タイプを取得します。

public string? GetContentType (TDocumentType type);
abstract member GetContentType : 'DocumentType -> string
Public Function GetContentType (type As TDocumentType) As String

パラメーター

type
TDocumentType

ドキュメントの種類。

戻り値

既知の場合はコンテンツ タイプ、それ以外の場合は null

適用対象