共用方式為


PrincipalInfo.Department Property

Gets a value that specifies the department name of the principal.

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

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Department As String
    Get
'Usage
Dim instance As PrincipalInfo
Dim value As String

value = instance.Department
[RemoteAttribute]
public string Department { get; }

Property Value

Type: System.String
Returns a String instance representing the department name of the principal.

See Also

Reference

PrincipalInfo Class

PrincipalInfo Members

Microsoft.SharePoint.Client.Utilities Namespace