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

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace