 | ExtensionMethodsGetResourceType Method |
Get the resource type from the serialization name
Namespace: SanteDBAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntaxpublic static Type GetResourceType(
this XName rootElement
)
<ExtensionAttribute>
Public Shared Function GetResourceType (
rootElement As XName
) As Type
public:
[ExtensionAttribute]
static Type^ GetResourceType(
XName^ rootElement
)
[<ExtensionAttribute>]
static member GetResourceType :
rootElement : XName -> Type Parameters
- rootElement XName
- The serialization name
Return Value
TypeThe resource type
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
XName. 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