Share via


HostedFileContent(String) Constructor

Definition

Initializes a new instance of the HostedFileContent class.

public:
 HostedFileContent(System::String ^ fileId);
public HostedFileContent(string fileId);
new Microsoft.Extensions.AI.HostedFileContent : string -> Microsoft.Extensions.AI.HostedFileContent
Public Sub New (fileId As String)

Parameters

fileId
String

The ID of the hosted file.

Exceptions

fileId is null.

fileId is empty or composed entirely of whitespace.

Applies to