IMetadataDisplayInfoProvider.CollectionToString<T> 메서드 (IMetadataCollection<T>, Boolean)
Gets a string representation of the specified IMetadataCollection<T> object.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Function CollectionToString(Of T As {Class, IMetadataObject}) ( _
metadataCollection As IMetadataCollection(Of T), _
singleLine As Boolean _
) As String
‘사용 방법
Dim instance As IMetadataDisplayInfoProvider
Dim metadataCollection As IMetadataCollection(Of T)
Dim singleLine As Boolean
Dim returnValue As String
returnValue = instance.CollectionToString(metadataCollection, _
singleLine)
string CollectionToString<T>(
IMetadataCollection<T> metadataCollection,
bool singleLine
)
where T : class, IMetadataObject
generic<typename T>
where T : ref class, IMetadataObject
String^ CollectionToString(
IMetadataCollection<T>^ metadataCollection,
bool singleLine
)
abstract CollectionToString :
metadataCollection:IMetadataCollection<'T> *
singleLine:bool -> string when 'T : not struct and IMetadataObject
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- T
The type of the elements in the collection, constrained to IMetadataObject.
매개 변수
- metadataCollection
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T>
The metadata collection to get a string representation for.
- singleLine
유형: System.Boolean
true to indicate to that the string is returned as a single line; otherwise, false.
반환 값
유형: System.String
A string representation of the object.
참고 항목
참조
IMetadataDisplayInfoProvider 인터페이스
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스