共用方式為


SPFeatureDefinition.GetImageUrl method

會傳回這項功能提供圖示的圖像檔案路徑。

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

Syntax

'宣告
Public Function GetImageUrl ( _
    culture As CultureInfo _
) As String
'用途
Dim instance As SPFeatureDefinition
Dim culture As CultureInfo
Dim returnValue As String

returnValue = instance.GetImageUrl(culture)
public string GetImageUrl(
    CultureInfo culture
)

參數

傳回值

Type: System.String
為此功能的圖示影像的 URL 路徑String方式呈現。

備註

圖像檔包含在下列路徑的版面配置目錄內: Local_Drive:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Template\Layouts。傳回圖像路徑可以a null reference (Nothing in Visual Basic)。

請參閱

參照

SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace

其他資源

建立 Windows SharePoint Services 3.0 中的 [網站動作] 功能表的功能