TableEntryHandleExtensions.TryCreateStringContent 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
특정 항목 & 열에 대한 문자열 콘텐츠(있는 경우)를 가져오는 도우미입니다.
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
매개 변수
- entry
- ITableEntryHandle
항목입니다.
- column
- ITableColumnDefinition
열입니다.
- truncatedText
- Boolean
잘린 텍스트입니다.
- singleColumnView
- Boolean
뷰입니다.
- content
- String
콘텐츠입니다.
반환
Boolean를 반환합니다.
설명
이 코드는 먼저 항목이 해당 데이터를 직접 제공하는지 확인하고, 그렇지 않은 경우 열과 연결된 변환기를 사용하는지 확인합니다.