Sdílet prostřednictvím


LazyMemberInfo Structure

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

Represents a MemberInfo object that does not load assemblies or create objects until requested.

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

Syntax

'Declaration
Public Structure LazyMemberInfo
public struct LazyMemberInfo

The LazyMemberInfo type exposes the following members.

Constructors

  Name Description
Public method LazyMemberInfo(MemberInfo) Initializes a new instance of the LazyMemberInfo class, representing the specified member.
Public method LazyMemberInfo(MemberTypes, Func<array<MemberInfo[]>) Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.
Public method LazyMemberInfo(MemberTypes, array<MemberInfo[]) Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.

Top

Properties

  Name Description
Public property MemberType Gets the type of the represented member.

Top

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAccessors Gets an array of the accessors for the represented member.
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether the two specified LazyMemberInfo objects are equal.
Public operatorStatic member Inequality Determines whether the two specified LazyMemberInfo objects are not equal.

Top

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.