編輯

共用方式為


AttributeInfo Class

Definition

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