It is always optional to re-state any base interface in a partial class.
分布类中是否重新声明它所实现的接口也是可选的。
At the top of the partial class definition for the form, add the following code.
在表单的partial类定义顶部,添加以下代码。
The new method is added to the partial class that contains all of your functions.
新方法则被添加到包含所有函数的局部类。
A partial method is usually defined in a partial class file and is optionally implemented in the regular class file.
分部方法通常被定义在一个分部类中,在常规的类文件中也可实现。
Add your code to the dataset's partial class file.
向数据集的分部类文件中添加代码。
The partial class must derive from the type that backs the root element.
分部类必须派生自支持根元素的类型。
In the partial class, you add the code that your application requires for the page.
在分部类中,添加应用程序要求该页所具有的代码。
This partial class enables your code-behind file to be used as part of a complete class without requiring you to declare the controls explicitly.
使用此分部类,您可以将代码隐藏文件用作完整类的一部分,而无需显式声明控件。
Note that under the default behavior of the markup compile build actions, you can leave the derivation blank in the partial class definition on the code-behind side.
请注意,在标记编译生成操作的默认行为下,您可以在代码隐藏端的分部类定义中将派生保留为空。
Note that under the default behavior of the markup compile build actions, you can leave the derivation blank in the partial class definition on the code-behind side.
请注意,在标记编译生成操作的默认行为下,您可以在代码隐藏端的分部类定义中将派生保留为空。
应用推荐