确定此内容类型是否具有指定的基内容类型。
命名空间: Microsoft.VisualStudio.Utilities
程序集: Microsoft.VisualStudio.CoreUtility(在 Microsoft.VisualStudio.CoreUtility.dll 中)
语法
声明
Function IsOfType ( _
type As String _
) As Boolean
bool IsOfType(
string type
)
bool IsOfType(
String^ type
)
abstract IsOfType :
type:string -> bool
function IsOfType(
type : String
) : boolean
参数
type
类型:String基内容类型的名称。
返回值
类型:Boolean
true ,如果 type派生指定的此内容类型从虚拟机或模板,否则 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。