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
- prefix
Type: System.String
- c
Type: System.Web.UI.Control
Return Value
Type: System.String