ConvertToBlobExpression
Table of Contents
What it is
ConvertToBlobExpression returns a Blob, as a result of a conversion from another type, for example from a string to a Blob.
- See LINQ for details about LINQ and the AI-Framework.
- Go to the category for all LINQ expressions.
Code example
public StringProperty ExampleString => StringProperty(description: "string example");
public BlobProperty ExampleBlob => BlobProperty(description: "blob example");
public IMethodCall AssignBlob()
{
return Method(() => new Body
{
ExampleBlob.Assign(ExampleString.ConvertToBlob())
});
}
Explanation of the example
In this example, the LINQ expression ConvertToBlob converts the String ExampleString into a Blob. It is assigned to ExampleBlob.