A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.activity.forcedefaultidformat below:

Activity.ForceDefaultIdFormat Property (System.Diagnostics) | Microsoft Learn

Activity.ForceDefaultIdFormat Property Definition

Gets or sets a value that detrmines if the DefaultIdFormat is always used to define the default ID format.

public:
 static property bool ForceDefaultIdFormat { bool get(); void set(bool value); };
public static bool ForceDefaultIdFormat { get; set; }
static member ForceDefaultIdFormat : bool with get, set
Public Shared Property ForceDefaultIdFormat As Boolean
Property Value

true to always use the DefaultIdFormat; otherwise, false.

Remarks

Normally if the ParentId is defined, its format determines the format used by the current Activity. However, if ForceDefaultFormat is set to true, the ID format is always defined by the DefaultIdFormat property even if the ParentId is defined and the parent has a different format.

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4