共用方式為


Helper.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

參數

  • typeName
    型別:System.String
    The name of the type to verify the data type of.

傳回值

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

請參閱

參考

Helper 類別

Microsoft.SqlServer.Dts.Tasks.WebServiceTask 命名空間