ResourceProvider.TryGetResource(String, Resource) 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.
Get resource by id.
public abstract bool TryGetResource (string id, out Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource resource);
abstract member TryGetResource : string * Resource -> bool
Public MustOverride Function TryGetResource (id As String, ByRef resource As Resource) As Boolean
Parameters
- id
- String
Resource id.
- resource
- Resource
resource.
Returns
true if resource is found.