Table of Contents

GetAllPublicInstanceFieldAndProperty Method

GetAllPublicInstanceFieldAndProperty(Type, params string[])

public static MemberInfo[] GetAllPublicInstanceFieldAndProperty(Type cls, params string[] namesToIgnore)

Note that constructor (.ctor) is always ignored.

Parameters

cls Type
namesToIgnore string[]

Returns

MemberInfo[]