IMetadataObject.Accept<T> Method
Accepts a visit from the specified IMetadataObjectVisitor<T> object.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Function Accept(Of T) ( _
visitor As IMetadataObjectVisitor(Of T) _
) As T
'Usage
Dim instance As IMetadataObject
Dim visitor As IMetadataObjectVisitor(Of T)
Dim returnValue As T
returnValue = instance.Accept(visitor)
T Accept<T>(
IMetadataObjectVisitor<T> visitor
)
generic<typename T>
T Accept(
IMetadataObjectVisitor<T>^ visitor
)
abstract Accept :
visitor:IMetadataObjectVisitor<'T> -> 'T
JScript does not support generic types and methods.
Type Parameters
- T
The type of the value returned from the IMetadataObjectVisitor<T> object.
Parameters
- visitor
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObjectVisitor<T>
The IMetadataObjectVisitor<T> object that performs the visit.
Return Value
Type: T
The value that is returned by the IMetadataObjectVisitor<T> object.