Determines whether specified content type is a supported image content type.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static bool IsSupportedImageContentType(
	this ContentType contentType
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsSupportedImageContentType ( _
	contentType As ContentType _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool IsSupportedImageContentType(
	ContentType^ contentType
)

Parameters

contentType
Type: FirstFloor.Documents..::..ContentType
Type of the content.

Return Value

true if content type is a supported image content type; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ContentType. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also