Click or drag to resize
ISharedObjectsPublishSharedObject Method
Any component may publish objects to be shared by calling this method. The object will be added to the available shared objects, and the SharedObjectPublished event will be raised.

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
void PublishSharedObject(
	string id,
	Object toBeShared,
	IdConflictResolution conflictingIdResolution
)

Parameters

id
Type: SystemString
Unique identifier for the object to be shared. If an object with this id is already shared, the conflict resolution parameter determines what happens.
toBeShared
Type: SystemObject
May be null, which can be used to "remove" a shared object from the collection. (Note that the component may still hold a reference to the old instance.)
conflictingIdResolution
Type: Sdl.FileTypeSupport.Framework.NativeApiIdConflictResolution
Indicates what should happen if an object with the same id is already shared.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments