Persistate API documentation
GetDefaultLayout Method (requestedType)
NamespacesPersistateObjectClassGetDefaultLayout(LayoutType)

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

Obtains the default Layout object of a particular type for this class.
Declaration Syntax
C#
public Layout GetDefaultLayout(
	LayoutType requestedType
)
Parameters
requestedType (LayoutType)
The LayoutType of the default layout to get.
Return Value
The default Layout or null if there are no layouts for this class or its base classes of the given type which are marked as default.
Remarks
If no default layouts for this class are found, then layouts for any base classes are searched, in order from this class down to but not including the root class Persistent.

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