Persistate API documentation
InsertPresence Method (session, target, collection)
NamespacesPersistateStandardOperationsInsertPresence(Session, Persistent, IPersistateList)

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

Determines whether the Insert operation should be enabled and/or visible.
Declaration Syntax
C#
public static OperationPresence InsertPresence(
	Session session,
	Persistent target,
	IPersistateList collection
)
Parameters
session (Session)
The Session requesting whether the operation should be enabled.
target (Persistent)
The Persistent on which any Execute call would be made.
collection (IPersistateList)
Any collection involved with this operation.
Return Value
Invisible if the collection is null, has no parent, is not ordered, or is a collection of Choice objects. Otherwise Enabled if target is non null, or else Disabled.

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