IContentType.IsOfType Method
Determines whether this content type has the specified base content type.
Namespace: Microsoft.VisualStudio.Utilities
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
Syntax
声明
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
Parameters
- type
Type: System.String
The name of the base content type.
Return Value
Type: System.Boolean
true if this content type derives from the one specified by type, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.