IContentType.IsOfType(String) Method

Definition

Returns true if this IContentType equals or derives from the content type specified by type.

public:
 bool IsOfType(System::String ^ type);
public:
 bool IsOfType(Platform::String ^ type);
bool IsOfType(std::wstring const & type);
public bool IsOfType (string type);
abstract member IsOfType : string -> bool
Public Function IsOfType (type As String) As Boolean

Parameters

type
String

The name of the base content type.

Returns

true if this content type equals or derives from the one specified by typeotherwise false.

Applies to