IPropertyManager.CreateProperty<T>(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a managed state property accessor for a property.
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)
Type Parameters
- T
The property value type.
Parameters
- name
- String
The name of the property accessor.
Returns
A state property accessor for the property.