nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Data.Framework / StorageProvider

StorageProvider

Full name Microsoft.VisualBasic.Data.Framework.StorageProvider.ComponentModels.StorageProvider Assembly Microsoft.VisualBasic.Data.Framework Members 14

The base type of the data I/O object schema.

00 Remarks

(数据读写对象的基本类型)

01 Syntax

Microsoft.VisualBasic.Data.Framework.StorageProvider.ComponentModels.StorageProvider

02 Methods

NameOverloadsSummary
ToString 2 VB style definition string
GetValue 1 从目标实例之中读取属性数据然后转换为字符串
SetValue 1 PropertyInfo.SetValue())
.ctor 1 Creates the object model from target property definition.
GetDescription 1

03 Properties

NameOverloadsSummary
Ordinal 1 The column index of this column in the csv table.
BindProperty 1 The bind property in the reflected class object.
Name 1 If the target property didn't provides the column name by using custom attribute, then this property will returns the Class propertyName from PropertyInfo.
CanReadDataFromObject 1 从目标类型对象之中可以读取这个属性的值将数据写入到文件之中
CanWriteDataToObject 1 可以在读取Csv文件之中的数据之后将数据写入到这个属性之中从而将数据加载进入内存之中
LoadMethod 1 解析字符串为.NET对象的方法
ProviderId 1
IsMetaField 1

04 Members

method ToString overload 2 #
ToString(Object)

By using this function that save the property value as a cell value string. (将.NET对象序列化为csv单元格之中的一个字符串值的方法)

Parameters
NameTypeDescription
objObject

-

method ToString #
ToString

VB style definition string

method GetValue #
GetValue(Object)

从目标实例之中读取属性数据然后转换为字符串

Parameters
NameTypeDescription
objObject

-

method SetValue #
SetValue(Object, Object)

PropertyInfo.SetValue()

Parameters
NameTypeDescription
objObject

-

valueObject

-

method .ctor #
#ctor(PropertyInfo)

Creates the object model from target property definition.

Parameters
NameTypeDescription
BindPropertyPropertyInfo

-

property Ordinal #
Ordinal

The column index of this column in the csv table. (这个属性值在Csv文件的第几列?)

property BindProperty #
BindProperty

The bind property in the reflected class object. (在反射的类型定义之中所绑定的属性入口定义)

property Name #
Name

If the target property didn't provides the column name by using custom attribute, then this property will returns the Class propertyName from PropertyInfo.

Remarks

(假若目标属性之中没有提供名称的话,则会使用属性名称来代替)

property CanReadDataFromObject #
CanReadDataFromObject

从目标类型对象之中可以读取这个属性的值将数据写入到文件之中

property CanWriteDataToObject #
CanWriteDataToObject

可以在读取Csv文件之中的数据之后将数据写入到这个属性之中从而将数据加载进入内存之中

property LoadMethod #
LoadMethod

解析字符串为.NET对象的方法

property ProviderId #
ProviderId
property IsMetaField #
IsMetaField
method GetDescription #
GetDescription()