Share via


ListFormWebPart.LoadResource Method

Returns the string value associated with 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 ListFormWebPart
Dim id As String
Dim returnValue As String

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

Parameters

  • id
    Type: System.String

    A string that specifies the identifier for the resource.

Return Value

Type: System.String
The string value of the resource.

Remarks

This override returns the resource id if the required resource is not found.

See Also

Reference

ListFormWebPart Class

ListFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace