nuget server logo nuget api documents
↑

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

CollectionAttribute

Full name Microsoft.VisualBasic.Data.Framework.StorageProvider.Reflection.CollectionAttribute Assembly Microsoft.VisualBasic.Data.Framework Members 7

This property is a array data type object.

00 Remarks

(并不建议使用本Csv属性来储存大量的文本字符串,极容易出错)

01 Syntax

Microsoft.VisualBasic.Data.Framework.StorageProvider.Reflection.CollectionAttribute

02 Methods

NameOverloadsSummary
.ctor 1
CreateObject 1 Collection of object into a cell string content.
ToString 1
CreateObject 2

03 Properties

NameOverloadsSummary
Delimiter 1
ProviderId 1

04 Members

method .ctor #
#ctor(String, String)
Parameters
NameTypeDescription
nameString

-

delimiterString

由于受正则表达式的解析速度的影响,因为CSV文件是使用逗号进行分隔的,假若使用逗号的话,正则表达式的解析速度会比较低,故在这里优先考虑使用分号来作为分隔符

method CreateObject #
CreateObject``1(IEnumerable(Of ``0))

Collection of object into a cell string content.

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
sourceIEnumerable(Of ``0)

-

property Delimiter #
Delimiter
property ProviderId #
ProviderId
method ToString #
ToString()
method CreateObject overload 2 #
CreateObject(String)
method CreateObject #
CreateObject(IEnumerable(Of T), String)