Share via


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

Parameters

Return Value

Type: T
The value that is returned by the IMetadataObjectVisitor<T> object.

See Also

Reference

IMetadataObject Interface

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace