C ++托管数组的大小 [英] C++ managed array size

查看:372
本文介绍了C ++托管数组的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这种

function(array<Object^>^ a)

我怎么知道这个数组的长度?像C ++,有大小来与功能?

How do I know the length of this array? Like C++, the size has to come with the function?

谢谢,

推荐答案

请记住,你的所有的类都是从.NET库,以便在一般情况下,你可以在普通的.NET文档allays外观。这里是数组类文档

Remember that All of you classes are from the .net library so in the general case you can allays looks at the generic .net documentation. Here is the array class docs.

这篇关于C ++托管数组的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆