正确的字符串格式 [英] Proper string formatting

查看:251
本文介绍了正确的字符串格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我要使用具有SDK但没有文档的IP视频编码器付款.
当我尝试将视频提要保存到文件中时,我遇到了麻烦.

命令是
HIPCamX1.SaveAVI("filename.avi","tst")需要一些额外的声明

这就是我不明白的暗示

未为Public Overridable的参数"use SaveDialog"指定参数
函数SaveAVI(使用SaveDialog作为Short,使用FileName作为String)作为Short

这是什么意思?


Thanx

Hi All,

I''m paying with an IP video encoder that has an SDK but of course no documentation.
When I try to save the video feed into a file, I run into trouble.

The command is
HIPCamX1.SaveAVI ("filename.avi" , "tst") which required some extra declaration

This is what it suggests which I do not understand

Argument not specified for parameter ''use SaveDialog'' of Public Overridable
Function SaveAVI(use SaveDialog as Short, fileName as String) As Short

What does this mean?


Thanx

推荐答案

因此,您的代码中是否有一个函数,如:
So do you have a function in your code like:
Public Overridable
Function SaveAVI(use SaveDialog as Short, fileName as String) As Short


如果这样做,则:
-SaveDialog不是该参数的好名字. System.Windows.Forms命名空间具有这样的名称.
-参数名称前的单词use错误.请参阅: http://msdn.microsoft.com/en-us/library/sect4ck6(v = VS.100).aspx [ ^ ]


If you do then:
- SaveDialog is not a good name for the parameter. System.Windows.Forms namespace has such a class named like that.
- the word use is wrong before the parameter name. Refer to: http://msdn.microsoft.com/en-us/library/sect4ck6(v=VS.100).aspx[^]


这篇关于正确的字符串格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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