HostedFileContent(String) Constructor
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.
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.