ILinkEmbedController

ILinkEmbedController interface

回调接口,用于确定对象在保存过程中的处理方式。

public interface ILinkEmbedController

方法

名称描述
GetObjectStoringLocation(int, byte[], string, string, string)确定对象应该存储的位置。该方法对于每个对象 ID 调用一次。不能保证不会有两个具有相同数据、semanticName 和 contentType 但 ID 不同的对象。
GetUrl(int, int)返回外部对象的 URL。如果 GetObjectStoringLocation 返回 Link,则该方法始终被调用;如果 GetObjectStoringLocation 返回 Embed,但嵌入不可能,则也可能被调用。对于相同的对象 ID 可以多次调用。
SaveExternal(int, byte[])保存外部对象。

另见