Helper.IsPrimitiveType Method
Indicates if a data type is a value type.
Namespace: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly: Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)
Syntax
'Declaration
Public Shared Function IsPrimitiveType ( _
typeName As String _
) As Boolean
'Usage
Dim typeName As String
Dim returnValue As Boolean
returnValue = Helper.IsPrimitiveType(typeName)
public static bool IsPrimitiveType(
string typeName
)
public:
static bool IsPrimitiveType(
String^ typeName
)
static member IsPrimitiveType :
typeName:string -> bool
public static function IsPrimitiveType(
typeName : String
) : boolean
Parameters
- typeName
Type: System.String
The name of the type to verify the data type of.
Return Value
Type: System.Boolean
true if the data type is a value type; otherwise, false.