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
参数
potentialBaseType
类型:System.String可能的基类型。
contentType
类型:System.String内容类型。
返回值
类型:System.Boolean
如果内容基于另一个对象,则为 true;否则为 false。