IFileTypeManagementService.IsBasedOn Method
Applies to v2.
Specifies whether the content is based on another object.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function IsBasedOn ( _
potentialBaseType As String, _
contentType As String _
) As Boolean
'Usage
Dim instance As IFileTypeManagementService
Dim potentialBaseType As String
Dim contentType As String
Dim returnValue As Boolean
returnValue = instance.IsBasedOn(potentialBaseType, _
contentType)
bool IsBasedOn(
string potentialBaseType,
string contentType
)
bool IsBasedOn(
String^ potentialBaseType,
String^ contentType
)
abstract IsBasedOn :
potentialBaseType:string *
contentType:string -> bool
function IsBasedOn(
potentialBaseType : String,
contentType : String
) : boolean
Parameters
potentialBaseType
Type: System.StringThe potential base type.
contentType
Type: System.StringThe content type.
Return Value
Type: System.Boolean
true if the content is based on another object; otherwise, false.