Click here to Skip to main content
15,909,091 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: MicrosoftReportViewer Pin
hmklakmal4-Nov-08 14:52
hmklakmal4-Nov-08 14:52 
QuestionThings related with Unmanaged code [modified] Pin
Member 45546493-Nov-08 19:25
Member 45546493-Nov-08 19:25 
AnswerRe: Things related with Unmanaged code Pin
Dave Kreskowiak4-Nov-08 3:56
mveDave Kreskowiak4-Nov-08 3:56 
GeneralRe: Things related with Unmanaged code Pin
Member 45546494-Nov-08 18:53
Member 45546494-Nov-08 18:53 
GeneralRe: Things related with Unmanaged code Pin
Simon P Stevens4-Nov-08 23:23
Simon P Stevens4-Nov-08 23:23 
QuestionVSTO application deployment Pin
tozy3-Nov-08 19:16
tozy3-Nov-08 19:16 
AnswerStop cross posting Pin
Simon P Stevens4-Nov-08 2:04
Simon P Stevens4-Nov-08 2:04 
Question.Net API GetMembers(BindingFlags) returns some additional members. Pin
Manish Paul3-Nov-08 5:58
Manish Paul3-Nov-08 5:58 
Hi,

In VS 2005 I am using Reflection to parse .Net System libraries. Using GetMembers(BindingFlags) returns some additional methods other what is defined in the interface/class in .Net system library. For filtering out I am using following BindingFlags combination
BindingFlags::Public | BindingFlags::Instance | BindingFlags::Static | BindingFlags::DeclaredOnly


I am trying to get the declared members in class/interface say for example System.Collection.ICollection which has following 4 members:

int Count { get; }
bool IsSynchronized { get; }
object SyncRoot { get; }
void CopyTo(Array array, int index);


However using GetMembers I get following 7 members:
int Count { get; }
bool IsSynchronized { get; }
object SyncRoot { get; }
void CopyTo(Array array, int index);

int get_Count();
bool get_IsSynchronized();
object get_SyncRoot()


I get extra 3 get methods corresponding to each property. How do I suppress or filter out these additional members?

~Manish
AnswerRe: .Net API GetMembers(BindingFlags) returns some additional members. Pin
Mark Churchill3-Nov-08 14:09
Mark Churchill3-Nov-08 14:09 
QuestionHow do I suppress the SelectAll when tabbing into a ComboBox? Pin
Poolee2-Nov-08 18:51
Poolee2-Nov-08 18:51 
AnswerRe: How do I suppress the SelectAll when tabbing into a ComboBox? Pin
Wendelius3-Nov-08 9:09
mentorWendelius3-Nov-08 9:09 
GeneralRe: How do I suppress the SelectAll when tabbing into a ComboBox? Pin
Poolee3-Nov-08 13:06
Poolee3-Nov-08 13:06 
GeneralRe: How do I suppress the SelectAll when tabbing into a ComboBox? Pin
Wendelius3-Nov-08 17:53
mentorWendelius3-Nov-08 17:53 
QuestionHow to transfer file via bluetooth from desktop PC to Windows Mobile Device Pin
yudhisthira31-Oct-08 19:17
yudhisthira31-Oct-08 19:17 
AnswerRe: How to transfer file via bluetooth from desktop PC to Windows Mobile Device Pin
Giorgi Dalakishvili2-Nov-08 4:32
mentorGiorgi Dalakishvili2-Nov-08 4:32 
QuestionHow to show the windows File Association form? Pin
ninkk31-Oct-08 8:21
ninkk31-Oct-08 8:21 
AnswerRe: How to show the windows File Association form? Pin
ninkk2-Nov-08 7:17
ninkk2-Nov-08 7:17 
QuestionChange class inheritance at runtime Pin
jpsstavares31-Oct-08 1:18
jpsstavares31-Oct-08 1:18 
AnswerRe: Change class inheritance at runtime Pin
Pete O'Hanlon31-Oct-08 1:54
mvePete O'Hanlon31-Oct-08 1:54 
GeneralRe: Change class inheritance at runtime Pin
jpsstavares31-Oct-08 2:00
jpsstavares31-Oct-08 2:00 
GeneralRe: Change class inheritance at runtime Pin
Pete O'Hanlon31-Oct-08 2:46
mvePete O'Hanlon31-Oct-08 2:46 
GeneralRe: Change class inheritance at runtime Pin
jpsstavares31-Oct-08 7:27
jpsstavares31-Oct-08 7:27 
GeneralRe: Change class inheritance at runtime Pin
led mike31-Oct-08 7:33
led mike31-Oct-08 7:33 
GeneralRe: Change class inheritance at runtime Pin
jpsstavares31-Oct-08 7:38
jpsstavares31-Oct-08 7:38 
GeneralRe: Change class inheritance at runtime Pin
led mike31-Oct-08 9:32
led mike31-Oct-08 9:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.