共用方式為


SimpleFormWebPart.LoadResource method

覆寫WebPart.LoadResource方法。傳回描述指定的資源的當地語系化的 [ Name、 Category和Description屬性值的字串。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Overrides Function LoadResource ( _
    id As String _
) As String
'用途
Dim instance As SimpleFormWebPart
Dim id As String
Dim returnValue As String

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

參數

  • id
    Type: System.String

    要尋找的字串識別項。字串的值取決於此 Web 組件。

傳回值

Type: System.String
String符合指定的id。預設值為空字串。

請參閱

參照

SimpleFormWebPart class

SimpleFormWebPart members

Microsoft.SharePoint.WebPartPages namespace