Partilhar via


ResourceProvider.TryGetResource(String, Resource) Método

Definição

Obter recurso por 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

Parâmetros

id
String

ID do recurso.

resource
Resource

recurso.

Devoluções

true se o recurso for encontrado.

Aplica-se a