语言

PropertyValues.Item[] 属性

定义

重载

名称 说明
Item[String]

获取或设置具有指定属性名称的属性的值。

Item[IComplexProperty]

获取或设置复杂集合的值。

Item[IProperty]

获取或设置属性的值。

Item[String]

Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs

获取或设置具有指定属性名称的属性的值。

public abstract object this[string propertyName] { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
public abstract object? this[string propertyName] { get; set; }
public abstract object? this[string propertyName] { get; set; }
member this.Item(string) : obj with get, set
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.Item(string) : obj with get, set
Default Public MustOverride Property Item(propertyName As String) As Object

参数

propertyName
String

属性名称。

属性值

属性的值。

特性

适用于

Item[IComplexProperty]

Source:
PropertyValues.cs
Source:
PropertyValues.cs

获取或设置复杂集合的值。

[System.Runtime.CompilerServices.Nullable(2)]
public abstract System.Collections.IList? this[Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty] { get; set; }
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.Item(Microsoft.EntityFrameworkCore.Metadata.IComplexProperty) : System.Collections.IList with get, set
Default Public MustOverride Property Item(complexProperty As IComplexProperty) As IList

参数

complexProperty
IComplexProperty

复杂集合属性。

属性值

复杂对象列表,而不是 PropertyValues。

特性

适用于

Item[IProperty]

Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs

获取或设置属性的值。

public abstract object this[Microsoft.EntityFrameworkCore.Metadata.IProperty property] { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
public abstract object? this[Microsoft.EntityFrameworkCore.Metadata.IProperty property] { get; set; }
public abstract object? this[Microsoft.EntityFrameworkCore.Metadata.IProperty property] { get; set; }
member this.Item(Microsoft.EntityFrameworkCore.Metadata.IProperty) : obj with get, set
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.Item(Microsoft.EntityFrameworkCore.Metadata.IProperty) : obj with get, set
Default Public MustOverride Property Item(property As IProperty) As Object

参数

property
IProperty

属性。

属性值

属性的值。

特性

适用于