Share via


FileResource Class

Definition

Class which represents a file as a resource.

public class FileResource : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource
type FileResource = class
    inherit Resource
Public Class FileResource
Inherits Resource
Inheritance
FileResource

Constructors

FileResource(String)

Initializes a new instance of the FileResource class.

Properties

FullName

Gets or sets the resource path.

(Inherited from Resource)
Id

Gets or sets resource id.

(Inherited from Resource)

Methods

OpenStreamAsync()

Open a stream to the resource.

ReadTextAsync()

Get resource as text async.

ToString()

Returns a string that represents the current object.

Applies to