LazyMemberInfo Constructor (MemberTypes, Func<array<MemberInfo[]>)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.

Namespace:  System.ComponentModel.Composition.ReflectionModel
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

Syntax

'Declaration
Public Sub New ( _
    memberType As MemberTypes, _
    accessorsCreator As Func(Of MemberInfo()) _
)
public LazyMemberInfo(
    MemberTypes memberType,
    Func<MemberInfo[]> accessorsCreator
)

Parameters

  • accessorsCreator
    Type: System.Func<array<MemberInfo[]>
    A function whose return value is a collection of the accessors for the represented member.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.