ILinkEmbedController

ILinkEmbedController 接口

回调接口,用于确定在保存期间应如何处理对象。

public interface ILinkEmbedController

方法

名称描述
GetObjectStoringLocation(int, byte[], string, string, string)确定对象应存储的位置。此方法针对每个对象 id 调用一次。不能保证不存在具有相同 data、semanticName 和 contentType 但 id 不同的两个对象。
GetUrl(int, int)返回指向外部对象的 URL。若 GetObjectStoringLocation 返回 Link,则始终调用此方法;若 GetObjectStoringLocation 返回 Embed,但嵌入不可行时,也可能调用此方法。可以针对同一对象 id 多次调用。
SaveExternal(int, byte[])保存外部对象。

参见