CodeGenerationUtilities.IsStringType Method
returns true if typeName represents a string ("string" or "System.String")
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Shared Function IsStringType ( _
typeName As String _
) As Boolean
public static bool IsStringType(
string typeName
)
public:
static bool IsStringType(
String^ typeName
)
static member IsStringType :
typeName:string -> bool
public static function IsStringType(
typeName : String
) : boolean
Parameters
- typeName
Type: System.String
Return Value
Type: System.Boolean
.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.