Share via


ITableColumnDefinition.TryCreateStringContent Method

Definition

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

public:
 bool TryCreateStringContent(Microsoft::VisualStudio::Shell::TableControl::ITableEntryHandle ^ entry, bool truncatedText, bool singleColumnView, [Runtime::InteropServices::Out] System::String ^ % content);
public 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
Public 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.

Remarks

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

Applies to