CollationInfo.IMetadataObject.Accept 메서드
Accepts a visit from the specified IMetadataObjectVisitor<T> object.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.Metadata
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Private Function Accept(Of T) ( _
visitor As IMetadataObjectVisitor(Of T) _
) As T Implements IMetadataObject.Accept
‘사용 방법
Dim instance As CollationInfo
Dim visitor As IMetadataObjectVisitor(Of T)
Dim returnValue As T
returnValue = CType(instance, IMetadataObject).Accept(visitor)
T IMetadataObject.Accept<T>(
IMetadataObjectVisitor<T> visitor
)
private:
generic<typename T>
virtual T Accept(
IMetadataObjectVisitor<T>^ visitor
) sealed = IMetadataObject::Accept
private abstract Accept :
visitor:IMetadataObjectVisitor<'T> -> 'T
private override Accept :
visitor:IMetadataObjectVisitor<'T> -> 'T
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- T
The type of the value returned by the visitor.
매개 변수
- visitor
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObjectVisitor<T>
The IMetadataObjectVisitor<T> object that performs the visit.
반환 값
유형: T
The value returned by the visitor.
구현
IMetadataObject.Accept<T>(IMetadataObjectVisitor<T>)