FileResource Class
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.
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
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. |