单词 | code example | ||||||||||||
释义 | code example
更多释义 收起释义 例句释义: 代码实例,代码范列,代码示例 1. The resulting wrapper function is too long to present inline as a code example, but it seems to work pretty well. 最终得到的包装器函数由于太长而不作为内联代码例子显示,但它能够出色地执行。 www.ibm.com 2. You can use Ildasm. Exe to examine the MSIL for the compiled code example, to see how the offsets and lengths are calculated. 可以使用Ildasm.exe检查用于已编译的代码示例的MSIL,以便了解如何计算偏移量和长度。 msdn2.microsoft.com 3. The following code example demonstrates the retrieval of the local machine name (the name of the computer as it appears on a network). 下面的代码示例演示如何检索本地计算机名称(显示在网络上的计算机名称)。 msdn2.microsoft.com 4. It is possible to declare fields that are public or protected, as you can see in the source code example, but that is rarely a good idea. 在源代码示例中,您会看到有些字段可能声明成公共的或受保护的,但这不是个好主意。 www-128.ibm.com 5. The following code example implements a type converter that converts a String type into a Point type and a Point into a String. 下面的代码示例实现了一个类型转换器,该转换器可以将String类型转换为Point类型,将Point转换为String。 msdn2.microsoft.com 6. The following code example causes the name and value of each key to be displayed in the debugger variable windows. 下面的代码示例会在调试器变量窗口中显示每个键的名称和值。 msdn2.microsoft.com 7. The following code example shows how some of these attributes can be applied directly to Web service method parameters or return values. 以下代码示例说明,这些属性的一部分可如何直接应用于Web服务方法参数或返回值。 msdn2.microsoft.com 8. In this case (outlined in following code example) the cargo is just a number that keeps getting fed back into an iterative function. 在本例中(在以下代码示例中概述),cargo只是不断将反馈传送给迭代函数的一个数字。 www.ibm.com 9. The following code example shows a top-level module that contains all the code up to the end of the file. 下面的代码示例演示包含直到文件结尾的所有代码的顶级模块。 technet.microsoft.com 10. Configuration section will contain encrypted information instead of a clear-text connection string, as shown in the following code example. 配置节将包含加密信息而不是明文形式的连接字符串,如下面的代码示例中所示。 msdn2.microsoft.com 1. Next , the code example encrypts a copy of a byte array, saves it to a file, loads the data back from the file, and then decrypts the data . 接下来,代码示例对字节数组的副本进行加密,将加密后的副本保存到文件中,从该文件加载回数据,然后对数据进行解密。 www.bing.com 2. This simple XML editor serves as a code example that you can use as a base for your own Eclipse XML plug-ins. 这个简单的XML编辑器起着代码示例的作用,您可以把它作为自己的EclipseXML插件的基础。 www-128.ibm.com 3. The PowerStatus property of the SystemInformation class can be used to query for the current status, as shown in the following code example. SystemInformation类的PowerStatus属性可以用来查询当前状态,如下面的代码示例所示 msdn2.microsoft.com 4. System stored procedure as shown in the following code example: - To allow advanced options to be changed. 系统存储过程来启用它,如下面的代码示例所示 msdn2.microsoft.com 5. Method to compare instance variables in an Equals implementation, as shown in the following code example. 方法比较实例变量是适当的,如下面的代码示例所示。 msdn2.microsoft.com 6. Instead of a reference you can add a using statement to your application, as shown in the following code example. 可以将using语句添加到应用程序,而不是引用,如下面的代码示例所示。 msdn2.microsoft.com 7. The following code example illustrates entryPoint elements in an application manifest for a ClickOnce application. 下面的代码示例阐释ClickOnce应用程序的应用程序清单中的entryPoint元素。 msdn2.microsoft.com 8. The following code example is the portion of a service description to which the sample SDFE adds XML elements. 以下代码示例是一个服务描述的一部分,示例SDFE将XML元素添加到该部分。 msdn2.microsoft.com 9. Listing 9 contains a code example of the SQL CREATE PROCEDURE statement used to register an RPG program as an external stored procedure. 清单9包含一个用于将一个RPG程序注册为一个外部存储过程的SQLCREATEPROCEDURE语句的代码示例。 www.ibm.com 10. The following code example shows how the Socket class can be used to send data to an HTTP server and receive the response. 下面的代码示例演示如何使用Socket类向HTTP服务器发送数据和接收响应。 msdn2.microsoft.com 1. File, create a public declaration for a new Web server control class, as shown in the following code example. 文件中声明的命名空间中,为新的Web服务器控件类创建公共声明,如下面的代码示例所示。 msdn2.microsoft.com 2. TouchGirl eraser effect of the code example- a finger across the screen will "wipe" off the top picture. TouchGirl橡皮擦效果代码例子——手指划过屏幕时会“擦”掉上层图片。 www.pudn.com 3. The following code example illustrates file elements in an application manifest for an application deployed using ClickOnce. 下面的代码示例阐释某应用程序的应用程序清单中的file元素,该应用程序是使用ClickOnce部署的。 msdn2.microsoft.com 4. The servlet instantiates a UserDataBean and then sets all the parameters in it, as shown in the code example below. 如下面的代码范例所示,该Servlet实例化了一个UserDataBean,并设置了其中的所有参数。 www.ibm.com 5. Because setting up users in roles is beyond the scope of this topic, this code example does not check user roles in the filtering. 因为设置用户角色超出了本主题的范围,所以此代码示例在筛选过程中不检查用户角色。 msdn2.microsoft.com 6. The following code example creates two new threads to call instance and static methods on another object. 下面的代码示例创建两个新线程以调用另一个对象上的实例和静态方法。 msdn2.microsoft.com 7. The following code example shows how the site map might look for a simple site that goes three levels deep. 下面的代码示例演示站点地图如何查找一个三层结构的简单站点。 msdn2.microsoft.com 8. Element to provide the basic UI for a search control, as shown in the following code example. 元素的下面添加一个文本框和一个按钮,以便为搜索控件提供基本的用户界面,如下面的代码示例所示。 msdn2.microsoft.com 9. This code example is part of a larger example provided for the Application Manifests for Office Solutions topic. 此代码示例摘自Office解决方案的应用程序清单主题中提供的一个更大的示例。 msdn2.microsoft.com 10. The following code example returns a list of membership users with a count of the number of users currently online. 下面的代码示例返回成员资格用户的列表以及当前在线用户数量的计数。 msdn2.microsoft.com 1. The following code example uses the single-file code model and may not work correctly if copied directly into a code-behind file. 下面的代码示例使用单文件代码模型,如果将它直接复制到代码隐藏文件中,可能不能正常工作。 msdn2.microsoft.com 2. The code for your control should look like the following code example. 控件的代码应当类似于下面的代码示例。 msdn2.microsoft.com 3. Metadata attribute that associates the control with the designer class you just created, as shown in the following code example. 元数据属性,此属性将控件与刚刚创建的设计器类关联,如下面的代码示例所示。 msdn2.microsoft.com 4. The following code example indicates whether the current instance of the item is within the Product dataset, data region, or grouping. 下面的代码示例指示项的当前实例是否在Product数据集、数据区域或分组 msdn2.microsoft.com 5. Notice that you can set various zone-level properties in the markup, as shown in the following code example. 注意,可以在标记中设置各种区域级属性,如下面的代码示例所示。 msdn2.microsoft.com 6. The following code example shows a simple programmatic configuration of a listening application domain. 下面的代码示例显示一个侦听应用程序域的简单编程配置。 msdn2.microsoft.com 7. The following code example retrieves the password for a specified user name and sends it to the e-mail address for the specified user. 下面的代码示例检索指定用户名所对应的密码并将其发送到该指定用户的电子邮件地址。 msdn2.microsoft.com 8. The next main thing that happens is that the user selects to open a file by using the menu, as shown in the following code example. 下一个主要操作是用户选择使用菜单打开某个文件,如下代码示例所示。 msdn2.microsoft.com 9. The code example below shows how an instance of this class can be serialized to a file. 以下代码示例说明该类的实例是如何被序列化到一个文件中的。 msdn2.microsoft.com 10. By the way, that's a comment on the first line (with the name of the source file for the code example). 顺便说一下,在第一行有一句注释(在代码例子中是源文件的名字)。 www.bing.com 1. The following code example specifies that the only allowed OLEDB connections to Access databases are allowed. 下面的代码示例指定只能授予到Access数据库的允许的OLEDB连接。 msdn2.microsoft.com 2. The following code example displays the Count of the Buttons before and after the Clear method is called. 下面的代码示例显示在调用Clear方法之前和之后Buttons的Count。 msdn2.microsoft.com 3. This code example is part of a larger example provided for the ClickOnce Application Manifest topic. 此代码示例摘自为ClickOnce应用程序清单主题提供的一个更大示例。 msdn2.microsoft.com 4. The following code example shows where the previous code examples fit into a Web. Config file. 下面的代码示例演示上面的代码示例可适合于Web.config文件的哪个位置。 msdn2.microsoft.com 5. To simplify this code example, the database is represented by a dictionary list that contains a small set of items. 为了简化此代码示例,数据库由包含少量物品的词典列表来表示。 msdn2.microsoft.com 6. The following code example creates a custom task pane that cannot be docked to the left or right side of the application window. 下面的代码示例创建一个不能停靠在应用程序窗口左侧或右侧的自定义任务窗格。 msdn2.microsoft.com 7. The following code example creates a default cache policy for the application domain, and overrides it for a request. 下面的代码示例创建应用程序域的默认缓存策略并为某个请求重写该策略。 msdn2.microsoft.com 8. The following code example illustrates the use of this constructor to instantiate a regular expression with a specified pattern and options. 下面的代码示例演示如何使用此构造函数以指定的模式和选项实例化正则表达式。 msdn2.microsoft.com 9. The following code example shows the result of changing the priority of a thread. 下面的代码示例说明了更改线程优先级的结果。 msdn2.microsoft.com 10. The following code example shows an ASP. NET page with an embedded code block that displays the results of a loop. 下面的代码示例演示包含嵌入式代码块的ASP.NET页,该代码块显示循环结果。 msdn2.microsoft.com 1. The following code example determines whether a string occurs at the beginning of another string. 下面的代码示例确定一个字符串是否出现在另一个字符串的开头。 msdn2.microsoft.com 2. The first code example demonstrates how to insert data into a database using the SqlDataSource control and a simple Web Forms page. 第一个代码示例演示如何使用SqlDataSource控件和一个简单Web窗体页将数据插入数据库中。 msdn2.microsoft.com 3. Attribute to a tag that supports inline styles as shown in the following code example. 属性添加到一个支持内联样式的标记中,如下面的代码示例所示。 msdn2.microsoft.com 4. The first part of the code example shows how the interface is implemented in a user control. 代码示例的第一部分演示如何在用户控件中实现此接口。 msdn2.microsoft.com 5. The media (file) information can also be stored in the database by means of code similar to the following code example. 媒体(文件)信息也可以通过如下代码示例的方式存储在数据库中。 msdn2.microsoft.com 6. Element in the page, you generally reference the control in client script using syntax as shown in the following code example. 元素的子控件,则一般使用下面的代码示例所示的语法在客户端脚本中引用控件。 msdn2.microsoft.com 7. The code example consists of a TextBox control, a GridView control, the ObjectDataSource control, and a Submit button. 此代码示例由一个TextBox控件、一个GridView控件、ObjectDataSource控件和一个“Submit”(提交)按钮组成。 msdn2.microsoft.com 8. The following code example illustrates a Signature element in a deployment manifest used in a ClickOnce deployment. 下面的代码示例阐释了ClickOnce部署所用的部署清单中的Signature元素。 msdn2.microsoft.com 9. The following code example provides an example middle-tier business object that this and many other ObjectDataSource code examples use. 下面的代码示例提供由此示例和许多其他ObjectDataSource代码示例使用的中间层业务对象的示例。 msdn2.microsoft.com 10. The following code example brings the last child tree node of the last root tree node into view in the tree view when a button is clicked. 下面的代码示例演示如何在单击按钮时,在树视图中显示最后一个根树节点的最后一个子树节点。 msdn2.microsoft.com 1. The code for the button click event, which goes in the code-behind file, is contained in the next code example. 按钮单击事件的代码(位于代码隐藏文件中)包含在下一个代码示例中。 msdn2.microsoft.com 2. The GetUserStoreForAssembly method is available as a shortcut, as shown in the following code example. GetUserStoreForAssembly方法可作为快捷方式,如下面的代码示例中所示。 msdn2.microsoft.com 3. The code behind the Menu commands (Play, Pause, and Stop) looks like the following code example. Menu命令(Play、Pause和Stop)的后台代码如下代码示例所示。 msdn2.microsoft.com 4. The following code example assumes a Windows Forms application with a ReportViewer control and a button. 以下代码示例假定一个包含ReportViewer控件和按钮的Windows窗体应用程序。 msdn2.microsoft.com 5. This code example is part of a larger example provided in Application Manifests for Office Solutions. 此代码示例摘自Office解决方案的应用程序清单中提供的一个更大的示例。 msdn2.microsoft.com 6. This code example causes the SHAutoComplete function to generate any errors with an exception one time and an HRESULT the next. 此代码示例导致SHAutoComplete函数第一次生成带有异常的任何错误,第二次则生成HRESULT。 msdn2.microsoft.com 7. The following code example shows the use of a SwitchAttribute attribute to identify the switch used in an assembly. 下面的代码示例演示如何使用SwitchAttribute属性来标识程序集中使用的开关。 msdn2.microsoft.com 8. Another method is available as a shortcut, as shown in the following code example. 另一个方法可当做捷径使用,如下列程式码范例所示。 technet.microsoft.com 9. You can link a style sheet to a Web page by using a link element, as shown in the following code example. 使用link元素可以将样式表链接到网页,如下面的代码示例所示。 msdn2.microsoft.com 10. The second code example provides an example middle-tier business object that this and many other ObjectDataSource code examples use. 第二个代码示例提供由此代码示例和许多其他ObjectDataSource代码示例使用的中间层业务对象的示例。 msdn2.microsoft.com 1. The following code example displays the name of a dynamic method. 下面的代码示例显示动态方法的名称。 msdn2.microsoft.com 2. Make sure the names and types of the parameters are the same those used in the following code example. 确保参数的名称和类型与在下面的代码示例中使用的那些相同。 msdn2.microsoft.com 3. Method in terms of the overloaded equality operator, as in the following code example. 方法来达到这一目的,如下面的代码示例所示。 msdn2.microsoft.com 4. This code example is part of a larger example provided for the Parameter class overview. 此代码示例摘自为Parameter类概述提供的一个更大的示例。 msdn2.microsoft.com 5. method enables you to specify your own padding character . the following code example uses the. 如果未使用重写(它允许指定自己的自定义填充字符),则会插入空白。 www.ichacha.net 6. The following code example shows an event handler used to create a blue ellipse within a bounding rectangle. 下面的代码示例演示用来在边框内创建蓝色椭圆的事件处理程序。 msdn2.microsoft.com 7. Create an instance of the BufferedGraphics class by calling the Allocate method, as shown in the following code example. 通过调用Allocate方法来创建BufferedGraphics类的一个实例,如下面的代码示例所示。 msdn2.microsoft.com 8. This code example requires that the application have permission to access the system event log. 此代码示例要求应用程序具有访问系统事件日志的权限。 msdn2.microsoft.com 9. The following code example provides a complete code listing of the sample Web Parts page used to host the user control. 下面的代码示例提供了用于承载用户控件的示例Web部件页的完整代码清单。 msdn2.microsoft.com 10. The first part of the code example shows how the user control implements the Description property. 代码示例的第一部分演示用户控件如何实现Description属性。 msdn2.microsoft.com 1. The following code example demonstrates the declaration of an event handler delegate that does not use event data. 以下程式码范例示范如何宣告不使用事件资料的事件处理常式委派。 msdn.microsoft.com 2. The following code example creates policy that returns a resource only if it is in the cache. 下面的代码示例创建仅当资源在缓存中时才返回资源的策略。 msdn2.microsoft.com 3. The creation of the host window and the control is as shown in the following code example. 宿主窗口和该控件的创建如下代码示例所示。 msdn2.microsoft.com 4. Although the code example rounds decimal numbers, the Round method rounds double-precision floating-point numbers in a similar way. 尽管该代码示例对小数进行舍入,但Round方法以类似的方式对双精度浮点数进行舍入。 msdn2.microsoft.com 5. In the following code example, the expression is a column name followed by value that you want for the column. 在下面的代码示例中,表达式就是在列名之后加上该列所需的值。 msdn2.microsoft.com 6. The following code example assigns a value representing the description of the current HTTP encoding to a string variable. 下面的代码示例将表示当前HTTP编码说明的值分配给一个字符串变量。 msdn2.microsoft.com 7. The following code example checks that the value of a variable is not null before calling an operation on it. 下面的代码示例在对某个变量进行运算前会先检查该变量的值是否为空。 msdn2.microsoft.com 8. Method is available as a shortcut, as shown in the following code example. 另一个方法可作为快捷方式,如下面的代码示例中所示。 msdn2.microsoft.com 9. The other overload that is called is implemented as shown in the following code example. 调用的另一个重载按以下代码示例的方式实现。 msdn2.microsoft.com 10. The method signature would now change to reflect this redesign, as shown in the following code example. 该方法的签名现在将相应地更改以反映这一重新设计,如下面的代码示例所示。 msdn2.microsoft.com 1. The following code example is a very simple example of a class obtaining a store isolated by user and assembly. 下面的代码示例是一个非常简单的由类获得按用户和程序集隔离的存储区的示例。 msdn2.microsoft.com 2. Add the public properties shown in the following code example to the class. 将下面的代码示例中显示的公共属性添加到类。 msdn2.microsoft.com 3. The following code example illustrates the use of a regular expression to check for repeated occurrences of words within a string. 下面的代码示例演示如何使用正则表达式检查字符串中重复出现的词。 msdn2.microsoft.com 4. A better approach is to separate the two kinds of information, placing each in its own enumeration, as shown in the following code example. 最好是将这两类信息分开,将每类信息分别放在各自的枚举中,如下面的代码示例所示。 msdn2.microsoft.com 5. The following code example has references to a discovery document, a service description, and an XSD schema. 下面的代码示例包含对发现文档、服务说明和XSD架构的引用。 msdn2.microsoft.com 6. The following code example uses server-side object syntax to create an instance of the ArrayList. NET Framework class in a Web Forms page. 下面的代码示例使用服务器端对象语法在Web窗体页中创建ArrayList.NETFramework类的实例。 msdn2.microsoft.com 7. This code example is part of a larger example provided for the IHierarchyData interface and the HierarchicalDataSourceControl class. 此代码示例摘自为IHierarchyData接口和HierarchicalDataSourceControl类提供的一个更大的示例。 msdn2.microsoft.com 8. The following code example shows how an attribute that uses the previous constructor can be applied using optional and required parameters. 下面的代码示例显示如何使用可选参数和必选参数应用使用上例中的构造函数的属性。 msdn2.microsoft.com 9. The following code example creates a semaphore with a maximum count of three and an initial count of zero. 下面的代码示例创建一个最大计数为3、初始计数为0的信号量。 msdn2.microsoft.com 10. The first part of this code example is the user control that enables users to switch display modes on a Web page. 此代码示例的第一部分是一个用户控件,该控件使用户能够切换网页上的显示模式。 msdn2.microsoft.com 1. The following code example defines three asynchronous tasks that are each set to be processed in parallel. 下面的代码示例定义三个都设置为并行执行的异步任务。 msdn2.microsoft.com 2. The following code example assigns the value representing the content type of the incoming request to a string variable. 下面的代码示例将表示传入请求的内容类型的值分配给一个字符串变量。 msdn2.microsoft.com 3. An explanation of how the code example works when you load it in a browser. 对在浏览器中加载该代码示例时示例的运行方式的说明。 msdn2.microsoft.com 4. First, consider the code example below of an EJB client accessing an LDAP directory that implements a connection pool. 首先,考虑以下EJB客户机代码示例,该客户机访问实现连接池的LDAP目录。 www.ibm.com 5. The following code example calls the Validate method on a page in a scenario with several different validation groups defined. 下面的代码示例对定义了几个不同验证组的方案的页调用Validate方法。 msdn2.microsoft.com 6. The following code example specifies an array of strings that represent an administrator role and a user role. 下面的代码示例指定表示一个管理员角色和一个用户角色的字符串数组。 msdn2.microsoft.com 7. Note that the preceding code is the almost the same as the basic code example before it, with the additions in bold. 请注意,上述代码除了以粗体显示的新加内容外,几乎与之前的基本代码示例相同。 msdn2.microsoft.com 8. The assemblies are typically listed at the end of the Help topic that contains the complete code example. 程序集通常在包含完整的代码示例的帮助主题的末尾列出。 msdn2.microsoft.com 9. The following code example shows a simple application that illustrates how Windows Forms applications use controls and handle events. 下面的代码示例说明了一个简单的应用程序,描述“Windows窗体”应用程序如何来使用控件和处理事件。 msdn2.microsoft.com 10. This code example is part of a larger example provided for the Action class. 此代码示例摘自为Action类提供的一个更大示例。 msdn2.microsoft.com 1. The following code example displays the value of two properties of the URL that referred the client to the current application. 下面的代码示例显示将客户端引用到当前应用程序的URL的两个属性值。 msdn2.microsoft.com 2. The following code example shows a report parameter being set to the value of a check box on a form. 下面的代码段展示了设置为窗体中的复选框的值的报表参数。 msdn2.microsoft.com 3. The code for the designer and properties is shown in the following code example. 下面的代码示例演示了设计器和属性的代码。 msdn2.microsoft.com 4. A complete Windows Forms code example contains a class derived from Form and a Main method. 完整的Windows窗体代码示例包含一个派生自Form的类和Main方法。 msdn2.microsoft.com 5. Create a public class that inherits the System. Configuration. ConfigurationSection class, as illustrated in the following code example. 创建一个继承System.Configuration.ConfigurationSection类的公共类,如下面的代码示例所示。 msdn2.microsoft.com 6. The following code example shows the markup for a PasswordRecovery control with a SuccessTemplate template defined. 下面的代码示例演示已定义SuccessTemplate模板的PasswordRecovery控件的标记。 msdn2.microsoft.com 7. The following code example illustrates an application manifest for a Visual Studio Tools for Office solution. 下面的代码示例阐释VisualStudioToolsforOffice解决方案的应用程序清单。 msdn2.microsoft.com 8. The first code example removes the attachment filter entry that filters file names with a. Txt extension. 第一个代码示例删除用于筛选扩展名为.txt的文件的附件筛选器条目。 technet.microsoft.com 9. This code example is part of a larger example provided for the Lock method. 此代码示例是为Lock方法提供的一个更大示例的一部分。 msdn2.microsoft.com 10. The completed page directive will look like the following code example. 完成的页面指令类似于下面的代码示例。 msdn2.microsoft.com 1. As shown in the previous code example, you must include in each adapter set the attributes that are defined in the following table. 如以上代码所示,您必须在每个适配器集中包括以下属性 msdn2.microsoft.com 2. The second part of the code example is the Web page that hosts the custom controls in a static Web parts connection. 该代码示例的第二部分是一个网页,该网页承载静态Web部件连接中的自定义控件。 msdn2.microsoft.com 3. The following code example shows a GridView control bound to a SqlDataSource control to retrieve, update, and delete data. 下面的代码示例演示如何将GridView控件绑定到SqlDataSource控件以检索、更新和删除数据。 msdn2.microsoft.com 4. The following code example parses a string into a Unicode character. 下面的示例代码将字符串分析为Unicode字符。 msdn2.microsoft.com 5. The following code example shows how the calling serializer resolves what happens with this error occurs. 下面的代码示例演示调用序列化程序如何解决发生此错误时的情况。 msdn2.microsoft.com 6. The following code example creates an instance of the Regex class and defines a simple regular expression when the object is initialized. 下面的代码示例创建了Regex类的实例并在初始化对象时定义一个简单的正则表达式。 msdn2.microsoft.com 7. The following code example sets a preferred input method by matching a specified method with a method in the collection. 下面的代码示例通过将指定的方法与集合中的某种方法匹配来设置首选的输入方法。 msdn2.microsoft.com 8. This code example is part of a larger example provided for the TableLayoutPanel control. 此代码示例摘自为TableLayoutPanel控件提供的一个更大的示例。 msdn2.microsoft.com 9. The following code example shows how you can use the code render blocks to display the same HTML text in a number of different font sizes. 下列程式码范例会示范如何使用程式码转译区块,以一些不同的字型大小显示相同的HTML文字。 technet.microsoft.com 10. Run the console application provided in the code example below to update the Web. Config file of the Default Web Site on the remote server. 运行下面的代码示例中提供的控制台应用程序以更新远程服务器上“默认网站”的Web.config文件。 msdn2.microsoft.com 1. The following code example illustrates a deployment manifest for a Visual Studio Tools for Office solution. 下面的代码示例演示了一个VisualStudioToolsforOffice解决方案的部署清单。 msdn2.microsoft.com 2. The following code example illustrates where the refactoring engine will not update references. 下面的代码示例阐释重构引擎不更新引用的情况。 msdn2.microsoft.com 3. The following code example shows the behavior of a running thread when it is interrupted and subsequently gets blocked. 下面的代码示例说明当正在运行的线程被中断并且后来又被阻塞时该线程的行为。 msdn2.microsoft.com 4. A code example of a Web service client catching an exception is provided in How to: Handle Exceptions Thrown by a Web Service Method. 在“如何:处理Web服务方法引发的异常”中提供了一个捕获异常的Web服务客户端的代码示例。 msdn2.microsoft.com 5. This code example is part of a larger example provided for the MessageWindow component. 此代码示例摘自为MessageWindow组件提供的一个更大的示例。 msdn2.microsoft.com 6. The following code example shows the use of the Missing field to invoke a method with its default arguments. 下面的代码示例显示使用Missing字段调用带有默认参数的方法。 msdn2.microsoft.com 7. The following code example uses the same string as the previous example, but does not raise an exception. 下面的代码示例使用与前面示例相同的字符串,但未引发异常。 msdn2.microsoft.com 8. You can use a page directive in each content page to bind it to a master page, as in the following code example. 可以在每个内容页中使用页指令来将内容页绑定到一个母版页,如下面的代码示例中所示。 msdn2.microsoft.com 9. This code obtains a lease and extends it directly as shown in the following code example. 此代码获取租约并直接延长它,如下面的代码示例中所示。 msdn2.microsoft.com 10. Building on the preceding code example, the media player control can be loaded with the exhibit video as follows. 在前面的代码示例基础上生成,该媒体播放器控件可以按以下方式使用展示视频加载。 msdn2.microsoft.com 1. The following code example iterates through a DataReader object, and returns two columns from each row. 以下代码示例循环访问一个DataReader对象,并从每个行中返回两个列。 msdn2.microsoft.com 2. Implement a simple Customers class to represent the data items used by this code example. 实现一个简单的Customers类来表示此代码示例使用的数据项。 msdn2.microsoft.com 3. The example is part of a complete code example in the ComboBox class overview. 此示例摘自ComboBox类概述中的一个完整代码示例。 msdn2.microsoft.com 4. The following code example uses the VerifyingUser event to check whether the submitted user name is formatted as a valid e-mail address. 下面的代码示例使用VerifyingUser事件检查是否将提交的用户名格式化为有效的电子邮件地址。 msdn2.microsoft.com 5. Using the previous text assignment as an example, the following code example shows design time code used to establish a relationship. 使用前面的文本分配作为示例,下面的代码示例显示用于建立关系的设计时代码。 msdn2.microsoft.com 6. The second code example returns the properties and values for a UM mailbox policy named MyUMMailboxPolicy and in a formatted list. 第二个代码示例返回名为MyUMMailboxPolicy的UM邮箱策略的属性和值,并以格式化列表显示。 technet.microsoft.com 7. The following code example shows how the attribute constructor specifies that an assembly is private. 下面的代码示例演示属性构造函数如何将程序集指定为私有。 msdn2.microsoft.com 8. The second code example shows a simple class that can be used for remoting. 第二个代码示例演示可用于远程处理的简单类。 msdn2.microsoft.com 9. To retrieve the results of a thread method, you can use a callback method, as demonstrated in the second code example. 为检索线程方法的结果,您可以使用回调方法,如第二个代码示例中所示。 msdn2.microsoft.com 10. The following code example shows the essential elements of a Windows Forms application. 下面的代码示例说明了“Windows窗体”应用程序的基本元素。 msdn2.microsoft.com 1. The following code example creates a method that enumerates through the ControlCollection collection of a Button control, myButton. 下面的代码示例创建一个方法,该方法枚举Button控件myButton的ControlCollection集合。 msdn2.microsoft.com 2. A code example that demonstrates inheritance and propagation flags can be found in the RegistryAccessRule class. 可以在RegistryAccessRule类中找到演示继承和传播标志的代码示例。 msdn2.microsoft.com 3. The following code example uses Clipboard methods to place data on and retrieve it from the system Clipboard. 下面的代码示例使用Clipboard方法将数据置于系统剪贴板中,并从中检索这些数据。 msdn2.microsoft.com 4. The following code example resets a user's password if he or she supplies the appropriate password answer. 下面的代码示例在用户提供正确的密码提示问题答案时重置该用户的密码。 msdn2.microsoft.com 5. The second code example returns the configuration for a specific IP Block List provider, Example. Com. 第二个代码示例返回特定IP阻止列表提供程序Example.com的配置。 technet.microsoft.com 6. The following code example collapses all rows in the System. Windows. Forms. DataGrid control. 下面的代码示例折叠System.Windows.Forms.DataGrid控件中的所有行。 msdn2.microsoft.com 7. The Web. Config file defines the MyAppSettings custom section, as shown in the following code example. Web.config文件定义MyAppSettings自定义节,如下面的代码示例所示。 msdn2.microsoft.com 8. The following code example illustrates how a progress bar can maintain a count of the files in a copy operation. 下面的代码示例说明进度栏如何维护复制操作中的文件计数。 msdn2.microsoft.com 9. Include this code example anywhere in the application where synchronization has to be performed. 请将这个程式码范例包含在必须执行同步处理的应用程式中。 technet.microsoft.com 10. The following code example uses the Cells property to set the value of a cell in the row. 下面的代码示例使用Cells属性设置行中某个单元格的值。 msdn2.microsoft.com 1. The following code example can be used in a document-level customization. 下面的代码示例可用于文档级自定义项。 technet.microsoft.com 2. The following code example shows how changing the TextLayout property affects the appearance of the PasswordRecovery control. 下面的代码示例显示更改TextLayout属性时如何影响PasswordRecovery控件的外观。 msdn2.microsoft.com 3. The following code example removes an item from the purchaseorder table and gives the modified document as a result of the query. 以下代码示例从purchaseorder表中删除一个条目,并将修改后的文档作为查询结果。 www.ibm.com 4. The following code example contains source code for a generic class named Sample that has a type parameter named T. 下面的代码示例包含Sample泛型类的源代码,该泛型类有一个T类型参数。 msdn2.microsoft.com 5. Event handler for the button so that it reads as shown in the following code example. 事件处理程序,如下面的代码示例所示。 msdn2.microsoft.com 6. As shown in the following code example, to draw text for printing purposes. 方法出于打印目的而绘制文本,如下面的代码示例所示。 msdn2.microsoft.com 7. The overload used here looks like the following code example. 此处使用的重载如下代码示例所示。 msdn2.microsoft.com 8. This code example is part of a larger code example provided for the SerialPort class. 此代码示例摘自一个为SerialPort类提供的更大的代码示例。 msdn2.microsoft.com 9. The code example illustrates the following major differences between the two classes. 该代码示例说明两个类之间的下列主要区别。 msdn2.microsoft.com 10. The following code example causes a foreign key violation error in a transaction that has other Transact-SQL statements. 下列代码示例导致在含有其他Transact-SQL语句的事务中发生外键冲突错误。 msdn2.microsoft.com 1. The following code example sends an application-defined Order class to a queue and then receives a message from that queue. 下面的代码示例将应用程序定义的Order类发送到队列,然后从该队列中接收消息。 msdn2.microsoft.com 2. The following code example illustrates a deployment element in a ClickOnce deployment manifest. 下面的代码示例阐释了ClickOnce部署清单中的。 msdn2.microsoft.com 3. The following code example creates a socket for synchronous communication and sends some data to a remote host. 下面的代码示例为同步通信创建套接字,并向远程主机发送某些数据。 msdn2.microsoft.com 4. Provides a code example that demonstrates how to access the cache of a Visual Studio Tools for Office solution document and read the data. 提供一个代码示例,演示如何访问VisualStudioToolsforOffice解决方案文档缓存并读取数据。 msdn2.microsoft.com 5. This code example is part of a larger example provided for the ToolboxItem class. 此代码示例是为ToolboxItem类提供的一个更大的示例的一部分。 msdn2.microsoft.com 6. This code example is part of a larger example provided for the HttpRequest class. 此代码示例摘自一个为HttpRequest类提供的更大的示例。 msdn2.microsoft.com 7. The following code example uses the GetPreferredHeight method to determine the new padding for a row that has been resized. 下面的代码示例使用GetPreferredHeight方法来确定已调整大小的行的新边距。 msdn2.microsoft.com 8. The following code example grants access to Kim and members of the Admins role, while denying it to John and all anonymous users. 下面的代码示例授予Kim和Admins角色的成员访问权,拒绝John和所有匿名用户的访问权。 msdn2.microsoft.com 9. The following code example displays the value of ShortTimePattern for a few cultures. 下面的代码示例显示了某些区域性的ShortTimePattern值。 msdn2.microsoft.com 10. The following code example displays the value of ShortDatePattern for a few cultures. 下面的代码示例显示几个区域性的ShortDatePattern的值。 msdn2.microsoft.com 1. The following code example shows a custom session-state module implementation that stores session information in memory using a Hashtable. 下面的代码示例演示了一个自定义会话状态模块实现,它使用Hashtable将会话信息存储到内存中。 msdn2.microsoft.com 2. Provides a code example that demonstrates the generic tasks involved in reading configuration settings. 提供一个代码示例,该代码示例演示涉及读取配置设置的一般任务。 msdn.microsoft.com 3. The following code example returns the value of the double-buffering related style bits for a Form. 下面的代码示例为Form返回与双缓冲相关的样式位的值。 msdn2.microsoft.com 4. The following code example illustrates how to use this property in an overridden method of a custom cell type. 下面的代码示例阐释如何在自定义单元格类型的重写方法中使用此属性。 msdn2.microsoft.com 5. The code example creates a collection of strings, uses the Add method to add several strings, displays the Count, and lists the strings. 此代码示例创建一个字符串集合,使用Add方法添加若干个字符串,显示Count,并列出这些字符串。 msdn2.microsoft.com 6. The following code example determines whether a character is hexadecimal encoded and, if so, writes the equivalent character to the console. 下面的代码示例确定一个字符是否为十六进制编码,如果是的话,则将等效字符输出到控制台。 msdn2.microsoft.com 7. The following code example contains source code for a generic class named Sample that has a type parameter T. 下面的代码示例包含名为Sample的泛型类的源代码,该类有一个类型参数T。 msdn2.microsoft.com 8. The following code example displays the calling convention of a dynamic method. 下面的代码示例显示动态方法的调用约定。 msdn2.microsoft.com 9. A code example of a Web service throwing an exception is provided in How to: Throw Exceptions from a Web Service Created Using ASP. NET. 在“如何:通过使用ASP.NET创建的Web服务引发异常”中提供了一个引发异常的Web服务的代码示例。 msdn2.microsoft.com 10. A link always jumps to the top of the topic in which the code example is found. 链接始终跳转到包含代码示例的主题的顶部。 msdn2.microsoft.com 1. The previous code example reads and modifies the values of the appSettings element configured for the server's Default Web Site. 上一代码示例读取并修改为服务器“默认网站”配置的appSettings元素的值。 msdn2.microsoft.com 2. The following code example adds a Bookmark control with text to the first paragraph of the document and creates a Deselected event handler. 下面的代码示例向文档的第一个段落添加一个带有文本的Bookmark控件,并创建一个Deselected事件处理程序。 msdn2.microsoft.com 3. The following code example shows a dependency element in a Visual Studio Tools for Office deployment manifest. 下面的代码示例演示了一个VisualStudioToolsforOffice部署清单中的dependency元素。 msdn2.microsoft.com 4. The following code example shows a simple class with a public field. 下面的代码示例显示一个具有公共字段的简单类。 msdn2.microsoft.com 5. The following code example specifies a dependency on a specific version of the common language runtime. 下面的代码示例指定了特定版本的公共语言运行库的依赖项。 msdn2.microsoft.com 6. The following code example sets the values of the SOAP header, as the recipient is the Web service client. 下面的代码示例设置SOAP头的值,接收方为Web服务客户端。 msdn2.microsoft.com 7. The following code example demonstrates how the TypeCode enumeration can be used. 下面的代码示例说明了如何使用TypeCode枚举。 msdn2.microsoft.com 8. Tags, which might look like the following code example. 元素,如下面的代码示例所示。 msdn2.microsoft.com 9. This code example demonstrates a standard override the InitializeLifetimeService interface. 此代码示例说明对InitializeLifetimeService接口的标准重写。 msdn2.microsoft.com 10. Set the Current property, as shown in the following code example. 设置Current属性,如下面的代码示例所示。 msdn2.microsoft.com 1. The following code example illustrates an implementation of this interface. 下面的代码示例演示此接口的实现。 msdn2.microsoft.com 2. The following code example displays the method attributes of a dynamic method. 下面的代码示例显示动态方法的方法属性。 msdn2.microsoft.com 3. This code example is part of a larger code example for the. 类的一个更大的代码示例。 msdn2.microsoft.com 4. The following code example gets two instances of the same encoding (one by codepage and another by name), and checks their equality. 下面的代码示例获取同一编码的两个实例(一个通过代码页,另一个通过名称),并检查这两个实例是否等效。 msdn2.microsoft.com 5. Trust level, or create a new trust level as shown in the following code example. 信任级别的策略文件或创建新的信任级别,如下面的代码示例所示。 msdn2.microsoft.com 6. To specify the owner, style, and position of the playback window, you can use the following code (modified from the previous code example). 要指定播放窗口的所有者、类型和位置,可以使用以下代码(从上面代码示例修改而来)。 msdn2.microsoft.com 7. The following code example shows a DOCTYPE declaration that you might add to your page. 下面的代码示例演示一个可添加到页面中的DOCTYPE声明。 msdn2.microsoft.com 8. The code example also specifies a connector that will not run the Attachment Filter agent. 该代码示例还指定不会运行附件筛选器代理的连接器。 technet.microsoft.com 9. The following code example shows how to define a custom configuration section and define settings for that section. 下面的代码示例演示如何定义自定义配置节以及如何定义该节的设置。 msdn2.microsoft.com 10. The handler will look like the following code example. 此处理程序类似于下面的代码示例。 msdn2.microsoft.com 1. The following code example URL-encodes a string before sending it to a browser client. 下面的代码示例对字符串进行URL编码,然后将其发送到浏览器客户端。 msdn2.microsoft.com 2. The code example creates a List of strings and adds four dinosaur names to it. 此代码示例创建一个字符串类型的List并向其添加四个恐龙名称。 msdn2.microsoft.com 3. The following code example illustrates an implementation of this property. 下面的代码示例演示此属性的实现。 msdn2.microsoft.com 4. The following code example displays the values in all the deleted rows of a table. 下面的代码示例演示表中所有已删除行中的值。 msdn2.microsoft.com 5. The following code example shows the Csc task being executed inside of a Target element. 下面的代码示例演示正在Target元素内部执行的Csc任务。 msdn2.microsoft.com 6. This code example shows a handler for the Error event in an ASP. NET Web page. 该代码示例演示ASP.NET网页中的Error事件的处理程序。 msdn2.microsoft.com 7. the following code example sets the text color , background color , and font weight of the title by setting properties of the. 对象的属性,设置标题的文本颜色、背景颜色和字体粗细。 www.ichacha.net 8. This code example is part of a larger code example provided in the. 类中提供的一个更大代码示例的一部分。 msdn2.microsoft.com 9. The following code example creates a Windows Form and a ToolStrip, and associates a different ContextMenuStrip control with each of them. 下面的代码示例创建一个Windows窗体和一个ToolStrip,并分别将不同的ContextMenuStrip控件与它们关联。 msdn2.microsoft.com 10. The following complete code example provides buttons for reloading data from the database and submitting changes to the database. 下面的完整代码示例提供的按钮用于从数据库重新加载数据和向数据库提交更改。 msdn2.microsoft.com 1. The following simple code example demonstrates how you can create an instance of a UTF-8 String with this constructor. 下面这个简单的代码示例阐释了如何使用该构造函数创建UTF-8String的实例。 msdn2.microsoft.com 2. You prepare the command as shown in the following code example. 您按照以下代码示例所示准备该命令。 msdn2.microsoft.com 3. The following code example creates a window that has a transparent client region regardless of background color of the form. 无论窗体的背景色是什么,下面的代码示例都创建一个具有透明工作区的窗口。 msdn2.microsoft.com 4. The following code example demonstrates the use of regular expressions to verify the formatting of a string. 下面的代码示例演示如何使用正则表达式验证字符串的格式设置。 technet.microsoft.com 5. The code example below sets the employee name and department for a list item. 下面的代码实例为一个列表项设置职员姓名和部门。 msdn2.microsoft.com 6. The following code example shows how to open a registry key on a remote computer and enumerate the values of the key. 下面的代码示例说明如何在远程计算机上打开一个注册表项并枚举该项的值。 msdn2.microsoft.com 7. The following code example finds the index of all occurrences of the string "he" within a substring of another string. 下面的代码示例查找字符串“he”在另一个字符串的子字符串中的所有匹配项的索引。 msdn2.microsoft.com 8. The following code example shows a simple generic linked-list class for demonstration purposes. 下面的代码示例演示一个用于演示用途的简单泛型链接列表类。 msdn2.microsoft.com 9. The following code example shows the effect of a longer cache duration in the page than in a user control. 下面的代码示例演示了当页的缓存持续时间长于用户控件的缓存持续时间时的效果。 msdn2.microsoft.com 10. The following code example returns the physical path of the virtual directory that contains the specified Web site. 下面的代码示例返回包含指定网站的虚拟目录的物理路径。 msdn2.microsoft.com 1. The following code example defines an enumeration with a sentinel value. 下面的代码示例定义一个带有sentinel值的枚举。 msdn2.microsoft.com 2. The following code example shows the Web. Config file for an ASP. NET application configured to use a SqlMembershipProvider. 下面的代码示例演示一个配置为使用SqlMembershipProvider的ASP.NET应用程序的Web.config文件。 msdn2.microsoft.com 3. The following code example displays the user information for a client request. 下面的代码示例显示客户端请求的用户信息。 msdn2.microsoft.com 4. The following code example displays the parameters of a dynamic method. 下面的代码示例显示动态方法的参数。 msdn2.microsoft.com 5. Provides a legacy code example to describe how to implement, configure, and use a simple configuration section handler by implementing the. 类,来实现、配置和使用简单的配置节处理程序。 msdn2.microsoft.com 6. The main function in the application trims any provided extensions, so the following code example works in either case. 应用程序中的主函数剪裁掉任何提供的扩展名,因此下面的代码示例可在其中任何一种情况下工作。 msdn2.microsoft.com 7. The following code example defines a data-binding handler, named MyDataBindingHandler, to be used by the designer in editing mode. 下面的代码示例定义一个名为MyDataBindingHandler的数据绑定处理程序,供设计器在编辑模式期间使用。 msdn2.microsoft.com 8. The following code example creates the parameters for a SQL statement and then fills a DataSet. 下面的代码示例创建SQL语句的参数,然后填充DataSet。 msdn2.microsoft.com 9. The following code example displays the reflected type of a dynamic method. 下面的代码示例显示动态方法的反射类型。 msdn2.microsoft.com 10. The following code example shows how you can displays browser information the information in a text box on the page. 下面的代码示例演示如何在页上的文本框中显示浏览器信息。 msdn2.microsoft.com 1. The following code example displays the declaring type of a dynamic method. 下面的代码示例显示动态方法的声明类型。 msdn2.microsoft.com 2. The first part of the code example is the source code for the two custom controls. 该代码示例的第一部分是两个自定义控件的源代码。 msdn2.microsoft.com 3. The following code example illustrates the use of this property in a DataGridView control intended primarily for display. 下面的代码示例演示此属性在主要用于显示的DataGridView控件中的用法。 msdn2.microsoft.com 4. Directive, as shown in the following code example. 指令内,如下面的代码示例所示。 msdn2.microsoft.com 5. The type library representation of the converted class follows the code example. 该代码示例之后是所转换类的类型库表示形式。 msdn2.microsoft.com 6. The following code example shows an event handler for the Click event of a button named SampleButton. 下面的代码示例显示SampleButton按钮的Click事件的事件处理程序。 msdn2.microsoft.com 7. The following code example provides the example middle-tier business object that the preceding code example uses. 下面的代码示例提供了前一代码示例所使用的中间层业务对象的示例。 msdn2.microsoft.com 8. The second part of the code example is the Web page that declares the static connection and hosts the controls. 此代码示例的第二部分是声明静态连接并承载控件的网页。 msdn2.microsoft.com 9. The code example avoids the deadlock condition by performing asynchronous read operations on the. 流执行异步读取操作避免产生死锁情况。 msdn2.microsoft.com 10. The following code example illustrates an assemblyIdentity element in a ClickOnce deployment manifest. 下面的代码示例阐释了ClickOnce部署清单中的assemblyIdentity元素。 msdn2.microsoft.com |
||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。