[英]What is equvalent code for following c# code
if (node.Attributes != null) //checking for attributes of a xml file node.
我假设您正在寻找VB.NET中的对等物:
If node.Attributes Is Not Nothing Then
if (node.Attributes != null)
Edit: 编辑:
you have edit your question VB.Net Equilent code.. 您已经编辑了问题VB.Net Equilent代码。
If node.Attributes IsNot Nothing Then
如果不是(node.Attributes为空),则
I find charp-to-vb a great site for converting between c# and vb.net 我发现charp-to-vb是在c#和vb.net之间转换的好网站
In this case 在这种情况下
If node.Attributes IsNot Nothing Then
End If
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.