TableColumnDefinitionBase.TryCreateStringContent 方法

定义

以字符串的形式获取此列的数据 ITableEntryHandle

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

参数

entry
ITableEntryHandle

项。

truncatedText
Boolean

截断的文本。

singleColumnView
Boolean

视图。

content
String

内容。

返回

Boolean

返回 Boolean

实现

注解

默认实现是使用 Name 作为键,并且如果它是字符串,则显示值。

适用于