| MessageUtilsSetDefault Method (MSH, MSH) |
Update the MSH on the specified MSH segment
Namespace:
SanteDB.Messaging.HL7.Utils
Assembly:
SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
Syntax public static void SetDefault(
this MSH msh,
MSH inbound
)
<ExtensionAttribute>
Public Shared Sub SetDefault (
msh As MSH,
inbound As MSH
)
public:
[ExtensionAttribute]
static void SetDefault(
MSH^ msh,
MSH^ inbound
)
[<ExtensionAttribute>]
static member SetDefault :
msh : MSH *
inbound : MSH -> unit
Parameters
- msh
- Type: MSH
The message header to be updated - inbound
- Type: MSH
The inbound message
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MSH. 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