Share via


IMetadataObjectVisitor<T>.Visit Method (IDatePart)

Visits the specified IDatePart object.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function Visit ( _
    datePart As IDatePart _
) As T
'Usage
Dim instance As IMetadataObjectVisitor
Dim datePart As IDatePart
Dim returnValue As T

returnValue = instance.Visit(datePart)
T Visit(
    IDatePart datePart
)
T Visit(
    IDatePart^ datePart
)
abstract Visit : 
        datePart:IDatePart -> 'T 
function Visit(
    datePart : IDatePart
) : T

Parameters

Return Value

Type: T
The object that is returned by the visit.