AttributeInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Wrapper class that represents attributes on a type at design time. This class cannot be inherited.
public ref class AttributeInfo sealed
public sealed class AttributeInfo
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class AttributeInfo
type AttributeInfo = class
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type AttributeInfo = class
Public NotInheritable Class AttributeInfo
- Inheritance
-
AttributeInfo
- Attributes
Remarks
Note
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
This class is used to represent attributes on design-time types (types that are yet to be compiled). This occurs only when validation is triggered through the designer.
Properties
ArgumentValues |
Gets a collection that contains values for each of the arguments associated with this instance. |
AttributeType |
Gets the Type of this instance. |
Creatable |
Gets a value that indicates whether this instance can be created. |
Methods
CreateAttribute() |
Creates an attribute of type Creates an attribute of type AttributeInfo. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetArgumentValueAs(IServiceProvider, Int32, Type) |
Gets the argument for this instance, based on type and index. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈