IWpfTableEntriesSnapshot.TryCreateImageContent 方法

定义

获取 ImageMoniker 位置和 indexcolumnName处的虚拟条目的 。

public:
 bool TryCreateImageContent(int index, System::String ^ columnName, bool singleColumnView, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Imaging::Interop::ImageMoniker % content);
public bool TryCreateImageContent (int index, string columnName, bool singleColumnView, out Microsoft.VisualStudio.Imaging.Interop.ImageMoniker content);
abstract member TryCreateImageContent : int * string * bool * ImageMoniker -> bool
Public 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 显示在列中的 。

返回

如果应使用 ,则 content 为 true。

适用于