 | ExtensionMethodsTryResolveTypeConceptToType Method |
Resolves me to the appropriate RIM type based on its type concept key
Namespace: SanteDBAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntaxpublic static bool TryResolveTypeConceptToType(
this IHasTypeConcept me,
out Type mappedType
)
<ExtensionAttribute>
Public Shared Function TryResolveTypeConceptToType (
me As IHasTypeConcept,
<OutAttribute> ByRef mappedType As Type
) As Boolean
public:
[ExtensionAttribute]
static bool TryResolveTypeConceptToType(
IHasTypeConcept^ me,
[OutAttribute] Type^% mappedType
)
[<ExtensionAttribute>]
static member TryResolveTypeConceptToType :
me : IHasTypeConcept *
mappedType : Type byref -> bool Parameters
- me IHasTypeConcept
- The type concept object to be resolved
- mappedType Type
- The mapped type
Return Value
BooleanTrue if the type resolution was successful
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IHasTypeConcept. 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).
Remarks
This method can be used in scenarios where a wrapper object is used to convey or indicate the type of object
based on its type concept (for example in MDM)
See Also