共用方式為


Principal.PrincipalType Property

Gets a value containing the type of the principal.

Namespace:  Microsoft.SharePoint.Client
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 PrincipalType As PrincipalType
    Get
'Usage
Dim instance As Principal
Dim value As PrincipalType

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

Property Value

Type: Microsoft.SharePoint.Client.Utilities.PrincipalType
Returns a PrincipalType.instance which contains the type of the principal.

See Also

Reference

Principal Class

Principal Members

Microsoft.SharePoint.Client Namespace