Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataflowBlockOptions::NameFormat Property

 

Gets or sets the format string to use when a block is queried for its name.

Namespace:   System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

public:
property String^ NameFormat {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The format string to use when a block is queried for its name.

The name format may contain up to two format items. {0} will be substituted with the block's name. {1} will be substituted with the block's Id, as is returned from the block's Completion.Id property.

Return to top
Show:
© 2017 Microsoft