你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Property.Create<TParent,TValue> Method

Definition

public static Microsoft.Azure.Commands.Common.Strategies.Property<TParent,TValue> Create<TParent,TValue> (Func<TParent,TValue> get, Action<TParent,TValue> set) where TParent : class;
static member Create : Func<'Parent, 'Value (requires 'Parent : null)> * Action<'Parent, 'Value (requires 'Parent : null)> -> Microsoft.Azure.Commands.Common.Strategies.Property<'Parent, 'Value (requires 'Parent : null)> (requires 'Parent : null)
Public Shared Function Create(Of TParent As Class, TValue As Class) (get As Func(Of TParent, TValue), set As Action(Of TParent, TValue)) As Property(Of TParent, TValue)

Type Parameters

TParent
TValue

Parameters

get
Func<TParent,TValue>
set
Action<TParent,TValue>

Returns

Applies to