ResXResourceWriterOmitHeader Property

Gets or sets whether the header should be omitted. If both CompatibleFormat and OmitHeader are , then only the XML comment will be omitted. If CompatibleFormat is and OmitHeader is , then the comment, the .resx schema and the <resheader> elements will be omitted, too.
Default value: .

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-rc.1
C#
public bool OmitHeader { get; set; }

Property Value

Boolean

Exceptions

InvalidOperationExceptionIn a set operation, a value cannot be specified because the creation of the .resx file content has already been started.
ObjectDisposedExceptionThe ResXResourceWriter instance is already disposed.

See Also