共用方式為


IWpfTableEntry.TryCreateImageContent(String, Boolean, ImageMoniker) 方法

定義

ImageMoniker取得項目與columnName的 。

public:
 bool TryCreateImageContent(System::String ^ columnName, bool singleColumnView, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Imaging::Interop::ImageMoniker % content);
public bool TryCreateImageContent(string columnName, bool singleColumnView, out Microsoft.VisualStudio.Imaging.Interop.ImageMoniker content);
abstract member TryCreateImageContent : string * bool * ImageMoniker -> bool
Public Function TryCreateImageContent (columnName As String, singleColumnView As Boolean, ByRef content As ImageMoniker) As Boolean

參數

columnName
String

要取得 ImageMoniker的數據行名稱。

singleColumnView
Boolean

如果數據表控件在單一數據行中顯示所有專案,則為 true。

content
ImageMoniker

ImageMoniker 顯示在資料列中的 。

傳回

如果應該使用,則 content 為 true。

適用於