Share via


SPUtility.GetShortId Method

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)> _
Public Shared Function GetShortId ( _
    prefix As String, _
    c As Control _
) As String
'Usage
Dim prefix As String
Dim c As Control
Dim returnValue As String

returnValue = SPUtility.GetShortId(prefix, _
    c)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)]
public static string GetShortId(
    string prefix,
    Control c
)

Parameters

Return Value

Type: System.String

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace