|  | DataConverterToModel Method (XPN) | 
 
            Converts the specified XPN instance to an entity name
            
 
    Namespace: 
   SanteDB.Messaging.HL7
    Assembly:
   SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
 Syntax
Syntaxpublic static EntityName ToModel(
	this XPN name
)
<ExtensionAttribute>
Public Shared Function ToModel ( 
	name As XPN
) As EntityName
public:
[ExtensionAttribute]
static EntityName^ ToModel(
	XPN^ name
)
[<ExtensionAttribute>]
static member ToModel : 
        name : XPN -> EntityName 
Parameters
- name
- Type: XPN
 The name to be converted
Return Value
Type: 
EntityNameThe name
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
See Also