Accept(T) 方法 (ISchemaOwnedObjectVisitor(T))
Accepts a visit from the specified ISchemaOwnedObjectVisitor<(Of <(<'T>)>)> object.
命名空間: Microsoft.SqlServer.Management.SqlParser.Metadata
組件: Microsoft.SqlServer.Management.SqlParser (在 Microsoft.SqlServer.Management.SqlParser.dll 中)
語法
'宣告
Function Accept(Of T) ( _
visitor As ISchemaOwnedObjectVisitor(Of T) _
) As T
'用途
Dim instance As ISchemaOwnedObject
Dim visitor As ISchemaOwnedObjectVisitor(Of T)
Dim returnValue As T
returnValue = instance.Accept(visitor)
T Accept<T>(
ISchemaOwnedObjectVisitor<T> visitor
)
generic<typename T>
T Accept(
ISchemaOwnedObjectVisitor<T>^ visitor
)
abstract Accept :
visitor:ISchemaOwnedObjectVisitor<'T> -> 'T
JScript 不支援一般類型和方法。
型別參數
- T
The type of the value returned by the ISchemaOwnedObjectVisitor<(Of <(<'T>)>)> object.
參數
- visitor
型別:Microsoft.SqlServer.Management.SqlParser.Metadata. . :: . .ISchemaOwnedObjectVisitor< (Of < ( <'T> ) > ) >
The ISchemaOwnedObjectVisitor<(Of <(<'T>)>)> object that performs the visit.
傳回值
型別:T
The value that is returned by the ISchemaOwnedObjectVisitor<(Of <(<'T>)>)> object.