WpfTableEntriesSnapshotBase.TryCreateImageContent 方法

定义

获取位于位置和的虚拟项的 ImageMoniker index columnName

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

参数

index
Int32

快照中虚拟条目的索引。

columnName
String

要为其获取 ImageMoniker 的列的名称。

singleColumnView
Boolean

如果表控件正在显示单个列中的所有内容,则为 true。

content
ImageMoniker

要在列中显示的 ImageMoniker。

返回

Boolean

如果 < paramref name = "content",则为 true > 。

实现

适用于