SPUtility.GetShortGuid-Methode

Diese Methode wird verwendet, um eine kürzere "Guid" Zeichenfolge mit bases64url codieren (siehe http://tools.ietf.org/html/rfc4648).

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

Syntax

'Declaration
Public Shared Function GetShortGuid ( _
    value As Guid _
) As String
'Usage
Dim value As Guid
Dim returnValue As String

returnValue = SPUtility.GetShortGuid(value)
public static string GetShortGuid(
    Guid value
)

Parameter

Rückgabewert

Typ: System.String
eine codierte guid

Hinweise

Das bases64url-Format ist im Grunde base-64, außer dass sie: 1) ersetzt '+' mit '-' 2) ersetzt ' /' mit '_' 3) schneidet "=" padding am Ende

Siehe auch

Referenz

SPUtility Klasse

SPUtility-Member

Microsoft.SharePoint.Utilities-Namespace