Click or drag to resize

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
)

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