共用方式為


SPHttpUserAgentAndMethodClassifier.UserAgent property

取得符合要求的使用者代理程式。

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property UserAgent As String
    Get
'用途
Dim instance As SPHttpUserAgentAndMethodClassifier
Dim value As String

value = instance.UserAgent
public string UserAgent { get; }

Property value

Type: System.String
使用者代理程式。

請參閱

參照

SPHttpUserAgentAndMethodClassifier class

SPHttpUserAgentAndMethodClassifier members

Microsoft.SharePoint.Utilities namespace