適用於版本2
表示是否註冊內容類型。
命名空間: Microsoft.WebMatrix.Extensibility.Editor
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Function IsRegisteredType ( _
contentTypeName As String _
) As Boolean
'用途
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
參數
contentTypeName
型別:System.String內容類型。
傳回值
型別:System.Boolean
如果已註冊內容類型,則為 true,否則為 false。