共用方式為


SPUtility.GetShortId method

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

Syntax

'宣告
Public Shared Function GetShortId ( _
    prefix As String, _
    c As Control _
) As String
'用途
Dim prefix As String
Dim c As Control
Dim returnValue As String

returnValue = SPUtility.GetShortId(prefix, _
    c)
public static string GetShortId(
    string prefix,
    Control c
)

參數

傳回值

Type: System.String

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace