This documentation is archived and is not being maintained.

MetaType.GetDataMember Method

Gets the MetaDataMember associated with the specified member.

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public abstract MetaDataMember GetDataMember(
	MemberInfo member


Type: System.Reflection.MemberInfo

The member for which the associated MetaDataMember is sought.

Return Value

Type: System.Data.Linq.Mapping.MetaDataMember
The MetaDataMember if one is associated with the specified member; otherwise, null.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5