Click or drag to resize
DocumentClassNameRetriever Constructor
Creates an instance of DocumentClassNameRetriever class.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public DocumentClassNameRetriever(
	IDataContainer container,
	bool requireClassName
)

Parameters

container
Type: CMS.BaseIDataContainer
Container with document data to retrieve the class name from.
requireClassName
Type: SystemBoolean
Indicates if the class name is required when retrieved from the container.
Remarks
If the class name is required and the value is not retrieved from the data container DocumentTypeNotExistsException exception is thrown.
See Also