ContentPropertyAttribute Constructor (String^)

 

Initializes a new instance of the ContentPropertyAttribute class, initializing the Name property.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
ContentPropertyAttribute(
	String^ name
)

Parameters

name
Type: System::String^

A String that contains the value for the Name property.

For Windows Workflow Foundation, the following restrictions pertain to ContentPropertyAttribute:

  • Type, Stack<T>, and Queue<T> are not supported ContentProperty types.

  • An empty string will be deserialized as a null value.

  • A ContentProperty which binds to a field using ActivityBind will not be serialized as a ContentProperty.

  • ContentProperty that interleaves with non-content property is not supported in workflow markup.

.NET Framework
Available since 3.0
Return to top
Show: