SearchBoxEx.LoadResource Method
Returns a string that describes the localized Name, Category, and Description property values of the specified resource.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function LoadResource ( _
strId As String _
) As String
'Usage
Dim instance As SearchBoxEx
Dim strId As String
Dim returnValue As String
returnValue = instance.LoadResource(strId)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override string LoadResource(
string strId
)
Parameters
- strId
Type: System.String
Identifier of the string to look up. The value of the string is determined by this Web Part.
Return Value
Type: System.String
A string that matches the specified id. Default value is an empty string.