Partilhar via


TableColumnDefinitionBase.TryCreateStringContent Method

Definition

Get the data for this column of an ITableEntryHandle as a string.

public:
 virtual bool TryCreateStringContent(Microsoft::VisualStudio::Shell::TableControl::ITableEntryHandle ^ entry, bool truncatedText, bool singleColumnView, [Runtime::InteropServices::Out] System::String ^ % content);
 virtual bool TryCreateStringContent(Microsoft::VisualStudio::Shell::TableControl::ITableEntryHandle const & entry, bool truncatedText, bool singleColumnView, [Runtime::InteropServices::Out] std::wstring const & & content);
public virtual bool TryCreateStringContent (Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle entry, bool truncatedText, bool singleColumnView, out string content);
abstract member TryCreateStringContent : Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle * bool * bool * string -> bool
override this.TryCreateStringContent : Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle * bool * bool * string -> bool
Public Overridable Function TryCreateStringContent (entry As ITableEntryHandle, truncatedText As Boolean, singleColumnView As Boolean, ByRef content As String) As Boolean

Parameters

entry
ITableEntryHandle

The entry.

truncatedText
Boolean

The truncated text.

singleColumnView
Boolean

The view.

content
String

The content.

Returns

Returns Boolean.

Implements

Remarks

The default implementation is to get the value using Name as a key and, if it is a string, display that.

Applies to