Share via


TableEntryHandleExtensions.TryCreateStringContent Method

Definition

Helper to get the string content (if any) for a particular entry & column.

public:
[System::Runtime::CompilerServices::Extension]
 static bool TryCreateStringContent(Microsoft::VisualStudio::Shell::TableControl::ITableEntryHandle ^ entry, Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition ^ column, bool truncatedText, bool singleColumnView, [Runtime::InteropServices::Out] System::String ^ % content);
public static bool TryCreateStringContent (this Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle entry, Microsoft.VisualStudio.Shell.TableControl.ITableColumnDefinition column, bool truncatedText, bool singleColumnView, out string content);
static member TryCreateStringContent : Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle * Microsoft.VisualStudio.Shell.TableControl.ITableColumnDefinition * bool * bool * string -> bool
<Extension()>
Public Function TryCreateStringContent (entry As ITableEntryHandle, column As ITableColumnDefinition, truncatedText As Boolean, singleColumnView As Boolean, ByRef content As String) As Boolean

Parameters

entry
ITableEntryHandle

The entry.

column
ITableColumnDefinition

The column.

truncatedText
Boolean

The truncated text.

singleColumnView
Boolean

The view.

content
String

The content.

Returns

Returns Boolean.

Remarks

This code first checks to see whether the entry provides that data directly and, if not, uses the converter associated with the column.

Applies to