说明类别宣告所禁止的编辑。
您可以将类别宣告为抽象。
所存取的基底类别就是在类别宣告中指定的基底类别。
The base class that is accessed is the base class specified in the class declaration.
比起将整个类别宣告为静态,以一些静态成员宣告非静态类别是较典型的方法。
It is more typical to declare a non-static class with some static members, than to declare an entire class as static.
按一下省略按钮,将档名储存至您选择的位置,或将类别宣告附加至现有的档案。
Click the ellipsis button to save the file name to the location of your choice, or to append the class declaration to an existing file.
如果您选取现有档案的名称,则当您按一下[完成]时,精灵会提示您是否要将类别宣告附加至档案内容。
If you select the name of an existing file, when you click Finish, the wizard prompts you to indicate whether the class declaration should be appended to the contents of the file.
在中断模式的大部分情况中,都不允许您对影响类别公用结构的程序码宣告(例如属性、方法,或类别宣告)进行变更。
In most cases, you are not allowed to make changes to code declarations, such as property, method, or class declarations, that affect the public structure of a class while in Break mode.
这个类别表示XML宣告的XML概念。
This class represents the XML concept of an XML declaration.
事实上,这就是您透过这种方式定义类别而宣告的合约。
That is in fact the contract you declared by defining the classes in this manner.
说明类别成员宣告所禁止的编辑。
它们必须标记为公用并且符合类别介面内的宣告。
They must be marked public and must match the declarations in the class interface.
实作的类别无法修改方法宣告资讯。
Method declaration information cannot be modified by the implementing class.
类别图表中的型别图案是指部分类型的单一宣告位置。
The type shape in the class diagram refers to a single declaration location for the partial class.
在一般情况下,您不应该跨两个或以上的宣告,来分割单一类别或结构的开发。
Under normal circumstances, you should not split the development of a single class or structure across two or more declarations.
也请在此宣告由类别所引发的事件。
若要保留此物件的参照,请在您实作方案事件处理常式的类别中宣告私用变数。
To retain a reference to this object, declare a private variable in the class in which you implement the solution event handlers.
在衍生类别中覆写时,写入XML宣告。
When overridden in a derived class, writes the XML declaration.
任何的类别、结构或介面成员宣告中,如果在型别之前包含无效的修饰词,都将产生此错误。
Any class, struct, or interface member declaration that contains invalid modifiers before the type will generate this error.
如果继承的介面不是宣告为新类别的一部分,则会由负责宣告的基底类别提供实作。
If the inherited interface is not declared as part of the new class, its implementation is provided by the base class that declared it.
中继资料API只会传回指定之类别的直接成员宣告,而且需要 API用户端执行其他呼叫,以查核阶层架构和列举继承的方法。
The metadata API returns only the direct member declarations for a given class and requires the API client to make additional calls to walk the hierarchy and enumerate inherited methods.
例如,某个图层中的类别会宣告在另一个图层中具有类别的变数。
For example, a class in one layer declares a variable that has a class in another layer.
确定要隐藏的变数是在类别内,而且是在类别层级(即在任何程序以外)宣告。
Be sure the variable you want to hide is declared in a class, and at class level (outside any procedure).
取得此类别的型别宣告。
在这个范例中,宣告式呼叫被直接放入类别定义之前,表示这个使用权限将被套用至该类别等级。
In this example, the declarative call is placed directly before the class definition, specifying that this permission be applied to the class level.
只有在已宣告成员的类别内,才可以看见成员。
Member is visible only within the class in which it is declared.
安全性权限可在表单中的使用权限类别(命令式安全性)或属性,表示使用权限类别(宣告式安全性)。
Security permissions can be in the form of a permission class (imperative security) or an attribute that represents a permission class (declarative security).
若要建立可被类别中所有程序使用,但不可以被该模组外的程序码使用的常数,请在类别的宣告区段中宣告这个常数。
To create a constant available to all procedures within a class, but not to any code outside that module, declare it in the declarations section of the class.
然而,如果您将一个宣告式安全性检查置于成员等级上,它只会套用至该成员,并覆写在类别等级上所指定的使用权限(如存在时)。
However, if you place a declarative security check at the member level, it applies to only that member and overrides the permission specified at the class level, if one exists.
取得使用此类别之属性的宣告集合。
宣告类别,其中包含的方法具有和委派相同的签章。
Declare a class that contains a method with the same signature as the delegate.
应用推荐