GetMembers(INamedType, DeclarationKind)
Gets the collection of members of a specific DeclarationKind.
Declaration
public static IMemberCollection<IMember> GetMembers(this INamedType namedType, DeclarationKind kind)Parameters
| Type | Name | Description |
|---|---|---|
| INamedType | namedType | A named type. |
| DeclarationKind | kind | Method, Field, Property, Event or Constructor. |
Returns
| Type | Description |
|---|---|
| IMemberCollection<IMember> |