| ExtensionMethodsLoadProperty Method (IIdentifiedEntity, String, Boolean) |
Delay load property
Namespace:
SanteDB.Core.Model
Assembly:
SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax public static Object LoadProperty(
this IIdentifiedEntity me,
string propertyName,
bool forceReload = false
)
<ExtensionAttribute>
Public Shared Function LoadProperty (
me As IIdentifiedEntity,
propertyName As String,
Optional forceReload As Boolean = false
) As Object
public:
[ExtensionAttribute]
static Object^ LoadProperty(
IIdentifiedEntity^ me,
String^ propertyName,
bool forceReload = false
)
[<ExtensionAttribute>]
static member LoadProperty :
me : IIdentifiedEntity *
propertyName : string *
?forceReload : bool
(* Defaults:
let _forceReload = defaultArg forceReload false
*)
-> Object
Parameters
- me
- Type: SanteDB.Core.Model.InterfacesIIdentifiedEntity
[Missing <param name="me"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]
- propertyName
- Type: SystemString
[Missing <param name="propertyName"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]
- forceReload (Optional)
- Type: SystemBoolean
[Missing <param name="forceReload"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]
Return Value
Type:
Object[Missing <returns> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IIdentifiedEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also