Persistate API documentation
Presence Method (session, target, collection)
NamespacesPersistateOperationPresence(Session, Persistent, IPersistateList)

[This is preliminary documentation and is subject to change.]

Calls the Presence method for the Operation to determine whether the operation should be visible and/or enabled at this time.
Declaration Syntax
C#
public OperationPresence Presence(
	Session session,
	Persistent target,
	IPersistateList collection
)
Parameters
session (Session)
The Session in which the operation enable check is to be made.
target (Persistent)
The target object to be sent to the Presence method.
collection (IPersistateList)
The target collection to be sent to the Presence method. This is non null only for collective operations.
Return Value
A value indicating whether the operation is enabled and/or visible for these targets.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)