.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ITypeInfo.CreateMember(String, Type) Method

Dynamically adds a new member to the current type at run time.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v20.2.dll


IMemberInfo CreateMember(
    string memberName,
    Type memberType
Function CreateMember(
    memberName As String,
    memberType As Type
) As IMemberInfo


Name Type Description
memberName String

A string that holds the new member's name.

memberType Type

A Type object that represents the type of the new member.


Type Description

An IMemberInfo object that supplies metadata on the created member.

See Also