| ExtensionMethodsLoadPropertyTReturn Method (IAnnotatedResource, String, Boolean) |
Delay load property
Namespace:
SanteDB
Assembly:
SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax public static TReturn LoadProperty<TReturn>(
this IAnnotatedResource me,
string propertyName,
bool forceReload = false
)
<ExtensionAttribute>
Public Shared Function LoadProperty(Of TReturn) (
me As IAnnotatedResource,
propertyName As String,
Optional forceReload As Boolean = false
) As TReturn
public:
[ExtensionAttribute]
generic<typename TReturn>
static TReturn LoadProperty(
IAnnotatedResource^ me,
String^ propertyName,
bool forceReload = false
)
[<ExtensionAttribute>]
static member LoadProperty :
me : IAnnotatedResource *
propertyName : string *
?forceReload : bool
(* Defaults:
let _forceReload = defaultArg forceReload false
*)
-> 'TReturn
Parameters
- me
- Type: SanteDB.Core.Model.InterfacesIAnnotatedResource
[Missing <param name="me"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean)"]
- propertyName
- Type: SystemString
[Missing <param name="propertyName"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean)"]
- forceReload (Optional)
- Type: SystemBoolean
[Missing <param name="forceReload"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean)"]
Type Parameters
- TReturn
[Missing <typeparam name="TReturn"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean)"]
Return Value
Type:
TReturn[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,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
IAnnotatedResource. 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