Searches for model with the given name with specifying the possibility of returning an empty model.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static XModel Get(
	string name,
	bool allowEmpty
)

Parameters

name
Type: System..::.String
Model name to search for.
allowEmpty
Type: System..::.Boolean
Defines whether an empty model should be returned in case of not founding the given one.

Return Value

Returns the XModel instance with the given name.

See Also