共用方式為


SPUserCustomAction.ImageUrl property

取得並設定為代表自訂動作圖示的圖像的 URL。

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

Syntax

'宣告
Public Overridable Property ImageUrl As String
    Get
    Set
'用途
Dim instance As SPUserCustomAction
Dim value As String

value = instance.ImageUrl

instance.ImageUrl = value
public virtual string ImageUrl { get; set; }

Property value

Type: System.String
內含映像的相對路徑的字串。

請參閱

參照

SPUserCustomAction class

SPUserCustomAction members

Microsoft.SharePoint namespace