javascript object
JavaScriptObject
01 Syntax
Microsoft.VisualBasic.My.JavaScript.JavaScriptObject
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | 如果存在无参数的函数,则也会被归类为只读属性? |
| GetGenericJSON | 1 | populate all members data |
| CreateDynamicObject | 2 | A wrapper for DynamicType.Create()) |
| Join | 1 | |
| Delete | 1 | |
| GetMemberValue | 1 | |
| GetDescription | 1 | |
| GetNames | 1 | |
| GetEnumerator | 1 | |
| ToString | 1 | |
| CreateObject | 2 |
03 Properties
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| undefined | 1 |
05 Members
#ctor
如果存在无参数的函数,则也会被归类为只读属性?
GetGenericJSON
populate all members data
Remarks
only works for the object in primitive type
Returns
Apply for create json in dynamics
CreateDynamicObject(
String(), Object())A wrapper for DynamicType.Create()
Parameters
| Name | Type | Description |
|---|---|---|
names | String() | - |
values | Object() | - |
CreateDynamicObject(
Type, IEnumerable(Of KeyValuePair(Of String, Object)))Create runtime object and then assign the property value
Parameters
| Name | Type | Description |
|---|---|---|
dynamic | Type | - |
values | IEnumerable(Of KeyValuePair(Of String, Object)) | - |
this
This javascript object instance
length
the size of the member collection in this javascript object
Item(
String)只针对Public的属性或者字段有效
Parameters
| Name | Type | Description |
|---|---|---|
memberName | String | - |
undefined
data
Join(JavaScriptObject, JavaScriptObject)
Delete(
String)GetMemberValue(
String, MemberAccessorResult)GetDescription(JavaScriptObject)
GetNames()
GetEnumerator()
ToString()
CreateObject()
CreateObject(
Type)