IWpfTableEntriesSnapshot.TryCreateImageContent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 ImageMoniker 位置和 index
columnName
处的虚拟条目的 。
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。