PropertyValues.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Item[String] |
取得或設定指定屬性名稱的屬性值。 |
| Item[IComplexProperty] |
取得或設定複集合的值。 |
| Item[IProperty] |
取得或設定該房產的價值。 |
Item[String]
取得或設定指定屬性名稱的屬性值。
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]
取得或設定複集合的值。
[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
綜合收藏物業。
屬性值
一個複雜物件的清單,不是 PropertyValue。
- 屬性
適用於
Item[IProperty]
取得或設定該房產的價值。
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
屬性。
屬性值
屬性的值。
- 屬性