LazyMemberInfo Constructor (MemberTypes, array<MemberInfo[])

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

Updated: December 2010

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, _
    ParamArray accessors As MemberInfo() _
)
public LazyMemberInfo(
    MemberTypes memberType,
    params MemberInfo[] accessors
)

Parameters

Exceptions

Exception Condition
ArgumentException

One of the members of accessors is an invalid accessor or nulla null reference (Nothing in Visual Basic).

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.

Change History

Date

History

Reason

December 2010

Added exception.

Content bug fix.