Share via


ResourceExplorer.TryGetResource(String, Resource) Method

Definition

Try to get the resource by id.

public bool TryGetResource (string id, out Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource resource);
member this.TryGetResource : string * Resource -> bool
Public Function TryGetResource (id As String, ByRef resource As Resource) As Boolean

Parameters

id
String

The id.

resource
Resource

resource that was found or null.

Returns

true if found.

Applies to