 | DataConverterFromModel Method (XTN, EntityTelecomAddress) |
Convert a telecom address to an XTN v2 structure
Namespace:
SanteDB.Messaging.HL7
Assembly:
SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
Syntaxpublic static XTN FromModel(
this XTN me,
EntityTelecomAddress tel
)
<ExtensionAttribute>
Public Shared Function FromModel (
me As XTN,
tel As EntityTelecomAddress
) As XTN
public:
[ExtensionAttribute]
static XTN^ FromModel(
XTN^ me,
EntityTelecomAddress^ tel
)
[<ExtensionAttribute>]
static member FromModel :
me : XTN *
tel : EntityTelecomAddress -> XTN
Parameters
- me
- Type: XTN
[Missing <param name="me"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.FromModel(NHapi.Model.V25.Datatype.XTN,SanteDB.Core.Model.Entities.EntityTelecomAddress)"]
- tel
- Type: SanteDB.Core.Model.EntitiesEntityTelecomAddress
[Missing <param name="tel"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.FromModel(NHapi.Model.V25.Datatype.XTN,SanteDB.Core.Model.Entities.EntityTelecomAddress)"]
Return Value
Type:
XTN[Missing <returns> documentation for "M:SanteDB.Messaging.HL7.DataConverter.FromModel(NHapi.Model.V25.Datatype.XTN,SanteDB.Core.Model.Entities.EntityTelecomAddress)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
XTN. 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