IFileTypeManagementService.IsBasedOn 方法

适用于版本2

指定内容是否基于另一个对象。

命名空间:  Microsoft.WebMatrix.Extensibility.Editor
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Function IsBasedOn ( _
    potentialBaseType As String, _
    contentType As String _
) As Boolean
用法
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

参数

返回值

类型:System.Boolean
如果内容基于另一个对象,则为 true;否则为 false。

请参阅

参考

IFileTypeManagementService 接口

Microsoft.WebMatrix.Extensibility.Editor 命名空间