クラスのいくつかのプロパティを反復処理する次のコードがあります
IEnumerable<CodeProperty> properties = CodeParser.GetEntityProjectItem(this, EntityClassType.Entity).FileCodeModel.GetClassesByName(method.EntityPropertyClassName).First().GetIEnumerable<CodeProperty>().Where(property => property.Getter != null && property.Access == vsCMAccess.vsCMAccessPublic);
これで問題ありません。プロパティを取得します。次に、プロパティの名前とタイプを使用してカスタム クラスを作成します。これも、配列とは別に問題ありません。
文字列プロパティの場合、名前と「System.String」を取得します
string[] プロパティの場合、名前と "" を取得します
CodeProperty を使用して配列型を取得するにはどうすればよいですか