共用方式為


ClientRuntimeContext.ApplicationName Property

Gets or sets the name of the runtime where the current client application is located.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Property ApplicationName As String
    Get
    Set
'Usage
Dim instance As ClientRuntimeContext
Dim value As String

value = instance.ApplicationName

instance.ApplicationName = value
public string ApplicationName { get; set; }

Property Value

Type: System.String
The name of the runtime where the client application is located.

See Also

Reference

ClientRuntimeContext Class

ClientRuntimeContext Members

Microsoft.SharePoint.Client Namespace