Describes how to use . net framework methods and classes that are culture - sensitive by default to obtain culture - insensitive results 描述默认情况下如何使用区分区域性的. net framework方法和类来获得不区分区域性的结果。
Demonstrates how to use . net framework methods to determine information about a file , search for a string in a file , and write to a file 演示如何使用. net framework方法来确定有关文件的信息,在文件中搜索字符串以及写入文件。
For example , some . net framework methods and properties use an index to designate a character in a string or an element in an array or collection 例如,某些. net framework方法和属性使用索引指定字符串中的某个字符或数组或集合中的某个元素。
However , visual basic does not always use the . net framework methods to accomplish conversion or other operations , and the results are not always identical 不过, visual basic并不总是使用. net framework方法完成转换或其他操作,并且结果不总是相同。
However , in the rare case when the web service operation uses document style combined with a wrapped binding to a . net framework method plus soap encoding , the top - level 但是,极少情况下,当web服务操作使用组合了到. net framework方法的包装绑定的文档样式以及soap编码时,顶级
Most . net framework methods that perform culture - sensitive string operations by default provide method overloads that allow you to explicitly specify the culture to use by passing a 默认情况下,执行区分区域性字符串操作的大多数. net framework方法都提供方法重载,使您可以通过传递
This section provides the following topics to demonstrate how to perform culture - insensitive string operations using . net framework methods that are culture - sensitive by default 本节提供了以下主题,用以说明如何使用默认区分区域性的. net framework方法执行不区分区域性的字符串操作。
If you have enabled just my code , break when an exception is : thrown does not cause the debugger to break immediately when an exception is thrown in system code such as . net framework methods 如果已启用“仅我的代码” ,则在系统代码(例如net framework方法)中发生异常时, “发生以下异常时中断:引发”不会导致调试器立即中断。
For a web service method that makes literal use of xml schema definitions : if a web service message or operation uses a wrapped binding to a . net framework method or merely defines a single message part , the top - level 对于按原义使用xml架构定义的web服务方法:如果web服务消息或操作使用到. net framework方法的包装绑定或仅定义单个消息部分,则顶级
Regardless of whether you are developing an application that includes code to handle localization and globalization issues , you should be aware of the . net framework methods that return culture - sensitive results by default 不管您正在开发的应用程序是否包含用来处理本地化和全球化问题的代码,都应该对默认情况下返回区分区域性的结果的. net framework方法有所了解。