Click or drag to resize
TypeGetMember Method (String)
Searches for the public members with the specified name.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public MemberInfo[] GetMember(
	string name
)

Parameters

name
Type: SystemString
The string containing the name of the public members to get.

Return Value

Type: MemberInfo
An array of MemberInfo objects representing the public members with the specified name, if found; otherwise, an empty array.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
See Also