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一些简短的文本,描述对象的含义。控制器可以将其用作外部对象名称的一部分,但由调度程序确保名称是唯一的并且只包含允许的字符。
contentTypeStringMIME 对象类型。
recomendedExtensionString文件扩展名,推荐用于此 MIME 类型。

返回值

决定

也可以看看