共用方式為


TableColumnDefinitionBase.TryCreateImageContent Method

Definition

Get the data for this column of an ITableEntryHandle as an ImageMoniker.

public:
 virtual bool TryCreateImageContent(Microsoft::VisualStudio::Shell::TableControl::ITableEntryHandle ^ entry, bool singleColumnView, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Imaging::Interop::ImageMoniker % content);
 virtual bool TryCreateImageContent(Microsoft::VisualStudio::Shell::TableControl::ITableEntryHandle const & entry, bool singleColumnView, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Imaging::Interop::ImageMoniker & content);
public virtual bool TryCreateImageContent (Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle entry, bool singleColumnView, out Microsoft.VisualStudio.Imaging.Interop.ImageMoniker content);
abstract member TryCreateImageContent : Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle * bool * ImageMoniker -> bool
override this.TryCreateImageContent : Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle * bool * ImageMoniker -> bool
Public Overridable Function TryCreateImageContent (entry As ITableEntryHandle, singleColumnView As Boolean, ByRef content As ImageMoniker) As Boolean

Parameters

entry
ITableEntryHandle

The entry.

singleColumnView
Boolean

The view.

content
ImageMoniker

The content.

Returns

The default implementation fails to return an ImageMoniker.

Implements

Remarks

The default implementation fails to return an ImageMoniker.

Applies to