IContentType.IsOfType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 type
otherwise false
.