开发者

how to get class info. in attribute class which is written on that class

开发者 https://www.devze.com 2023-01-06 11:20 出处:网络
[myattribute] class myclass { } myattribut开发者_如何学运维e:attribute { // here i need to access all properties with values and methods of \"Myclass\".

[myattribute] class myclass {

}

myattribut开发者_如何学运维e:attribute {

// here i need to access all properties with values and methods of "Myclass".

}

how can i get this..?


Use Reflection...

http://msdn.microsoft.com/en-us/library/aa288454%28VS.71%29.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消