GetObjectStoringLocation

ILinkEmbedController.GetObjectStoringLocation method

确定对象应该存储在哪里。该方法在每个对象 ID 上调用一次。不能保证不会有两个具有相同数据的对象,semanticName 和 contentType 但具有不同的 ID。

public LinkEmbedDecision GetObjectStoringLocation(int id, byte[] entityData, string semanticName, 
    string contentType, string recomendedExtension)
参数类型描述
idInt32对象 ID。该 ID 是保存操作范围内唯一的。
entityDataByte[]对象的二进制数据。如果对象的二进制数据尚未生成,则此参数可以为 null。
semanticNameString描述对象含义的简短文本。控制器可以将其作为外部对象名称的一部分,但确保名称唯一并仅包含允许字符的工作由调度程序负责。
contentTypeString对象的 MIME 类型。
recomendedExtensionString针对此 MIME 类型推荐的文件名扩展名。

返回值

决策

另请参见