IFileTypeManagementService.RegisterType Method
Applies to v2.
Registers the content type.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Sub RegisterType ( _
contentTypeName As String, _
baseTypes As String() _
)
'Usage
Dim instance As IFileTypeManagementService
Dim contentTypeName As String
Dim baseTypes As String()
instance.RegisterType(contentTypeName, _
baseTypes)
void RegisterType(
string contentTypeName,
string[] baseTypes
)
void RegisterType(
String^ contentTypeName,
array<String^>^ baseTypes
)
abstract RegisterType :
contentTypeName:string *
baseTypes:string[] -> unit
function RegisterType(
contentTypeName : String,
baseTypes : String[]
)
Parameters
contentTypeName
Type: System.StringThe content type to register.
baseTypes
Type: System.String()The base types.