 | DataConverterToModel(XPN, NullableGuid) Method |
Converts a list of
XPN instance to
EntityName instances
Namespace: SanteDB.Messaging.HL7Assembly: SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 3.0.2081-alpha+e82e56b43bfab0d631a8b4d1ba2ab44b8aff02dd
Syntaxpublic static IEnumerable<EntityName> ToModel(
this XPN[] names,
Guid? nameUseKey = null
)
<ExtensionAttribute>
Public Shared Function ToModel (
names As XPN(),
Optional nameUseKey As Guid? = Nothing
) As IEnumerable(Of EntityName)
public:
[ExtensionAttribute]
static IEnumerable<EntityName^>^ ToModel(
array<XPN^>^ names,
Nullable<Guid> nameUseKey = nullptr
)
[<ExtensionAttribute>]
static member ToModel :
names : XPN[] *
?nameUseKey : Nullable<Guid>
(* Defaults:
let _nameUseKey = defaultArg nameUseKey null
*)
-> IEnumerable<EntityName> Parameters
- names XPN
- The names to be converted
- nameUseKey NullableGuid (Optional)
- The name use key to set
Return Value
IEnumerableEntityNameThe converted list of names
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
XPN. 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