 | ConvertExStringToObject 方法 |
Sweet 开发框架
字符串转对象
命名空间:
Sweet.Common
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static Object StringToObject(
string str,
Type type,
Object defaultobj
)
Public Shared Function StringToObject (
str As String,
type As Type,
defaultobj As Object
) As Object
static member StringToObject :
str : string *
type : Type *
defaultobj : Object -> Object
参数
- str
- 类型:SystemString
字符串 - type
- 类型:SystemType
类型 - defaultobj
- 类型:SystemObject
默认对象
返回值
类型:
Object对象
参见