Chili.Opf3 Send comments on this topic.
GetMemberFieldAttribute Method
See Also 
Chili.Opf3.Mapping.Providers Namespace > ITypeMappingProvider Interface : GetMemberFieldAttribute Method




type
The persistent type that's mapping is created.
member
The member of the persistent type.
Returns the FieldAttribute for the given member. If the member is not mapped, null is returned.

Syntax

Visual Basic (Declaration) 
Overridable Function GetMemberFieldAttribute( _
   ByVal type As Type, _
   ByVal member As MemberInfo _
) As FieldAttribute
Visual Basic (Usage)Copy Code
Dim instance As ITypeMappingProvider
Dim type As Type
Dim member As MemberInfo
Dim value As FieldAttribute
 
value = instance.GetMemberFieldAttribute(type, member)
C# 
virtual FieldAttribute GetMemberFieldAttribute( 
   Type type,
   MemberInfo member
)
Managed Extensions for C++ 
virtual FieldAttribute* GetMemberFieldAttribute( 
   Type* type,
   MemberInfo* member
) 
C++/CLI 
virtual FieldAttribute^ GetMemberFieldAttribute( 
   Type^ type,
   MemberInfo^ member
) 

Parameters

type
The persistent type that's mapping is created.
member
The member of the persistent type.

Return Value

An instance of the FieldAttribute or null if the member is not mapped.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also