|  | DataConverterToModel Method (CE, String, Boolean) | 
  
    Namespace: 
   SanteDB.Messaging.HL7
    Assembly:
   SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
 Syntax
Syntaxpublic static IEnumerable<Concept> ToModel(
	this CE[] me,
	string preferredDomain = null,
	bool throwIfNotFound = true
)
<ExtensionAttribute>
Public Shared Function ToModel ( 
	me As CE(),
	Optional preferredDomain As String = Nothing,
	Optional throwIfNotFound As Boolean = true
) As IEnumerable(Of Concept)
public:
[ExtensionAttribute]
static IEnumerable<Concept^>^ ToModel(
	array<CE^>^ me, 
	String^ preferredDomain = nullptr, 
	bool throwIfNotFound = true
)
[<ExtensionAttribute>]
static member ToModel : 
        me : CE[] * 
        ?preferredDomain : string * 
        ?throwIfNotFound : bool 
(* Defaults:
        let _preferredDomain = defaultArg preferredDomain null
        let _throwIfNotFound = defaultArg throwIfNotFound true
*)
-> IEnumerable<Concept> 
Parameters
- me
- Type: CE
 [Missing <param name="me"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToModel(NHapi.Model.V25.Datatype.CE[],System.String,System.Boolean)"] 
- preferredDomain (Optional)
- Type: SystemString
 [Missing <param name="preferredDomain"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToModel(NHapi.Model.V25.Datatype.CE[],System.String,System.Boolean)"] 
- throwIfNotFound (Optional)
- Type: SystemBoolean
 [Missing <param name="throwIfNotFound"/> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToModel(NHapi.Model.V25.Datatype.CE[],System.String,System.Boolean)"] 
Return Value
Type: 
IEnumerableConcept[Missing <returns> documentation for "M:SanteDB.Messaging.HL7.DataConverter.ToModel(NHapi.Model.V25.Datatype.CE[],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 . 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