Compartir a través de


HostedWebApplication.GetContextValue Method

Returns the value associated with the name-value pair in the context.

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As HostedWebApplication
Dim name As String
Dim returnValue As String

returnValue = instance.GetContextValue(name)

Syntax

'Declaration
Public Function GetContextValue ( _
    name As String _
) As String
public string GetContextValue (
    string name
)
public:
String^ GetContextValue (
    String^ name
)
public String GetContextValue (
    String name
)
public function GetContextValue (
    name : String
) : String

Parameters

  • name
    Name of the context key.

Return Value

The context value for the passed name or null.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

HostedWebApplication Class
HostedWebApplication Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.