nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / BindProperty

BindProperty

Full name Microsoft.VisualBasic.ComponentModel.DataSourceModel.SchemaMaps.BindProperty`1 Assembly Microsoft.VisualBasic.Runtime Members 10

Schema for Attribute and its bind PropertyInfo/FieldInfo object target.

00 Remarks

(使用这个对象将公共的域或者属性的读写统一起来)

Type Parameters
NameDescription
T

01 Syntax

Microsoft.VisualBasic.ComponentModel.DataSourceModel.SchemaMaps.BindProperty`1

02 Methods

NameOverloadsSummary
SetValue 1 Sets the property value of a specified object with optional index values for index properties.
GetValue 1 Returns the property value of a specified object with optional index values for indexed properties.
ToString 1 Display this schema maps in Visualbasic style.
WriteScriptValue 1
FromSchemaTable 1

03 Properties

NameOverloadsSummary
Identity 1 The map name or the MemberInfo.Name.
IsNull 1 Is this map data is null on its attribute or property data?

04 Fields

NameOverloadsSummary
field 2 The flag for this field binding.
name 1

05 Members

method SetValue #
SetValue(Object, Object)

Sets the property value of a specified object with optional index values for index properties. (这个设置值的函数只适用于Class类型,对于Structure类型而言,则无法正常的工作)

Parameters
NameTypeDescription
objObject

The object whose property value will be set.

valueObject

The new property value.

method GetValue #
GetValue(Object)

Returns the property value of a specified object with optional index values for indexed properties.

Parameters
NameTypeDescription
xObject

The object whose property value will be returned.

Returns

The property value of the specified object.

method ToString #
ToString

Display this schema maps in Visualbasic style.

property Identity #
Identity

The map name or the MemberInfo.Name. (这个属性会首先查找标记的自定义属性的名称结果,如果不存在才会使用属性或者字段的反射成员名称)

property IsNull #
IsNull

Is this map data is null on its attribute or property data?

field field #
field

The flag for this field binding.

field field overload 2 #
field
field name #
name
method WriteScriptValue #
WriteScriptValue(Object, String)
method FromSchemaTable #
FromSchemaTable(KeyValuePair(Of T, PropertyInfo))