Share via


DataViewWebPart.LoadResource Method

Overrides the WebPart.LoadResource method. Returns a string that describes the localized Name, Category, and Description property values of the specified resource.

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

Syntax

'Declaration
Public Overrides Function LoadResource ( _
    id As String _
) As String
'Usage
Dim instance As DataViewWebPart
Dim id As String
Dim returnValue As String

returnValue = instance.LoadResource(id)
public override string LoadResource(
    string id
)

Parameters

  • id
    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.

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace