共用方式為


SPPolicyRole.GetHashCode method

會傳回之原則的雜湊程式碼。

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function GetHashCode As Integer
'用途
Dim instance As SPPolicyRole
Dim returnValue As Integer

returnValue = instance.GetHashCode()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override int GetHashCode()

傳回值

Type: System.Int32
32 位元正負號的整數雜湊碼取自連接埠。

請參閱

參照

SPPolicyRole class

SPPolicyRole members

Microsoft.SharePoint.Administration namespace