IPropertyManager.CreateProperty<T>(String) 方法

定义

为属性创建托管状态属性访问器。

public Microsoft.Bot.Builder.IStatePropertyAccessor<T> CreateProperty<T> (string name);
abstract member CreateProperty : string -> Microsoft.Bot.Builder.IStatePropertyAccessor<'T>
Public Function CreateProperty(Of T) (name As String) As IStatePropertyAccessor(Of T)

类型参数

T

属性值类型。

参数

name
String

属性访问器的名称。

返回

属性的状态属性访问器。

适用于