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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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: String
Return Value
Type: 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.