Поделиться через


IDocumentTypeFeature<TDocumentType>.GetDocumentType(String) Метод

Определение

Возвращает тип документа для заданного типа контента.

public TDocumentType? GetDocumentType (string contentPart);
abstract member GetDocumentType : string -> Nullable<'DocumentType (requires 'DocumentType : struct)>
Public Function GetDocumentType (contentPart As String) As Nullable(Of TDocumentType)

Параметры

contentPart
String

Тип контента.

Возвращаемое значение

Nullable<TDocumentType>

Тип документа, если он известен, в противном случае null

Применяется к