Share via


ResourceExplorer.GetResource(String) Method

Definition

Get resource by id.

public Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource GetResource (string id);
member this.GetResource : string -> Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource
Public Function GetResource (id As String) As Resource

Parameters

id
String

The resource id.

Returns

The resource, or throws if not found.

Applies to