ResourceExplorer.LoadType 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.
Overloads
| LoadType<T>(Resource) |
Create Type from resource. |
| LoadType<T>(String) |
Create Type from resource. |
LoadType<T>(Resource)
Create Type from resource.
public T LoadType<T> (Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource resource);
member this.LoadType : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource -> 'T
Public Function LoadType(Of T) (resource As Resource) As T
Type Parameters
- T
type to create.
Parameters
- resource
- Resource
resource to bind to.
Returns
- T
created type.
Applies to
LoadType<T>(String)
Create Type from resource.
public T LoadType<T> (string resourceId);
member this.LoadType : string -> 'T
Public Function LoadType(Of T) (resourceId As String) As T
Type Parameters
- T
type to create.
Parameters
- resourceId
- String
resourceId to bind to.
Returns
- T
created type.