共用方式為


IPersistableModel<T>.Create Method

Definition

Converts the provided BinaryData into a model.

public T Create (BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options);
abstract member Create : BinaryData * System.ClientModel.Primitives.ModelReaderWriterOptions -> 'T
Public Function Create (data As BinaryData, options As ModelReaderWriterOptions) As T

Parameters

data
BinaryData

The BinaryData to parse.

Returns

T

A T representation of the data.

Exceptions

If the model does not support the requested Format.

Applies to