共用方式為


Collection<T>.ApplyOnFirstAccess<C> Method

Definition

public static Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> ApplyOnFirstAccess<C> (Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableMetadataCollection<C> collection, Action<C> action, Predicate<C> actionCompleted) where C : class, T;
static member ApplyOnFirstAccess : Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableMetadataCollection<#'T> * Action<#'T> * Predicate<#'T> -> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)>
Public Shared Function ApplyOnFirstAccess(Of C As {Class, T}) (collection As IMutableMetadataCollection(Of C), action As Action(Of C), actionCompleted As Predicate(Of C)) As IMetadataCollection(Of T)

Type Parameters

C

Parameters

action
Action<C>
actionCompleted
Predicate<C>

Returns

Applies to