The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.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.v19.2.dll

Declaration

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

Parameters

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.

Parameters

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.

Parameters

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.

Returns

Type Description
IMemberInfo

An IMemberInfo object that supplies metadata on the created member.

Returns

Type Description
IMemberInfo

An IMemberInfo object that supplies metadata on the created member.

Returns

Type Description
IMemberInfo

An IMemberInfo object that supplies metadata on the created member.

See Also