Click or drag to resize

ExtensionUtilTryApplyExtension Method

Try to apply the specified extension to the specified object

Namespace:  SanteDB.Messaging.FHIR.Util
Assembly:  SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 2.2.1
Syntax
public static bool TryApplyExtension(
	this Extension me,
	IdentifiedData applyTo
)

Parameters

me
Type: Extension

[Missing <param name="me"/> documentation for "M:SanteDB.Messaging.FHIR.Util.ExtensionUtil.TryApplyExtension(Hl7.Fhir.Model.Extension,SanteDB.Core.Model.IdentifiedData)"]

applyTo
Type: SanteDB.Core.ModelIdentifiedData

[Missing <param name="applyTo"/> documentation for "M:SanteDB.Messaging.FHIR.Util.ExtensionUtil.TryApplyExtension(Hl7.Fhir.Model.Extension,SanteDB.Core.Model.IdentifiedData)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.Messaging.FHIR.Util.ExtensionUtil.TryApplyExtension(Hl7.Fhir.Model.Extension,SanteDB.Core.Model.IdentifiedData)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Extension. 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