IFileTypeManagementService.IsRegisteredType Method

Applies to v2.

Indicates whether a content type is registered.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Function IsRegisteredType ( _
    contentTypeName As String _
) As Boolean
'Usage
Dim instance As IFileTypeManagementService 
Dim contentTypeName As String 
Dim returnValue As Boolean 

returnValue = instance.IsRegisteredType(contentTypeName)
bool IsRegisteredType(
    string contentTypeName
)
bool IsRegisteredType(
    String^ contentTypeName
)
abstract IsRegisteredType : 
        contentTypeName:string -> bool
function IsRegisteredType(
    contentTypeName : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the content type is registered; otherwise, false.

See Also

Reference

IFileTypeManagementService Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace