GetIncludeFileContentAsync Method
Overloads
| GetIncludeFileContentAsync(String) |
Gets the content of a file. |
|
| GetIncludeFileContentAsync(AsyncHandle, String) |
Gets the content of a file. |
|
| GetIncludeFileContentAsync<T>(AsyncHandle, Func<Response, T>, String) |
Gets the content of a file. |
GetIncludeFileContentAsync(String)
Gets the content of a file.
Declaration
public Task<string> GetIncludeFileContentAsync([QixName("qPath")] string path)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | path |
["lib: OR ["lib: [ ] should be used when the first variable contains a lib reference. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
GetIncludeFileContentAsync(AsyncHandle, String)
Gets the content of a file.
Declaration
public Task<string> GetIncludeFileContentAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | path |
["lib: OR ["lib: [ ] should be used when the first variable contains a lib reference. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
GetIncludeFileContentAsync<T>(AsyncHandle, Func<Response, T>, String)
Gets the content of a file.
Declaration
public Task<T> GetIncludeFileContentAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qPath")] string path)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.String | path |
["lib: OR ["lib: [ ] should be used when the first variable contains a lib reference. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |