| ExtensionMethodsSetLastModified Method |
Set last modified time
Namespace:
SanteDB.Rest.Common
Assembly:
SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 2.2.1
Syntax public static void SetLastModified(
this HttpListenerResponse me,
DateTime lastModified
)
<ExtensionAttribute>
Public Shared Sub SetLastModified (
me As HttpListenerResponse,
lastModified As DateTime
)
public:
[ExtensionAttribute]
static void SetLastModified(
HttpListenerResponse^ me,
DateTime lastModified
)
[<ExtensionAttribute>]
static member SetLastModified :
me : HttpListenerResponse *
lastModified : DateTime -> unit
Parameters
- me
- Type: System.NetHttpListenerResponse
[Missing <param name="me"/> documentation for "M:SanteDB.Rest.Common.ExtensionMethods.SetLastModified(System.Net.HttpListenerResponse,System.DateTime)"]
- lastModified
- Type: SystemDateTime
[Missing <param name="lastModified"/> documentation for "M:SanteDB.Rest.Common.ExtensionMethods.SetLastModified(System.Net.HttpListenerResponse,System.DateTime)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
HttpListenerResponse. 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