Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
contentTypeName
Type: System.StringThe content type.
Return Value
Type: System.Boolean
true if the content type is registered; otherwise, false.