Collection<T>.ApplyOnFirstAccess<C> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- collection
- IMutableMetadataCollection<C>
- action
- Action<C>
- actionCompleted
- Predicate<C>