共用方式為


IsPrimitiveType 方法

Indicates if a data type is a value type.

命名空間:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
組件:  Microsoft.SqlServer.WebServiceTask (在 Microsoft.SqlServer.WebServiceTask.dll 中)

語法

'宣告
Public Shared Function IsPrimitiveType ( _
    typeName As String _
) As Boolean
'用途
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

參數

傳回值

型別:System. . :: . .Boolean
true if the data type is a value type; otherwise, false.