System.Resources.ResXDataNode.Comment Property

Gets or sets an arbitrary comment regarding this resource.

Syntax

public string Comment { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If a comment has not been assigned to the resource item, the value of the ResXDataNode.Comment property is string.Empty.

You access the ResXDataNode.Comment property of an data node in an existing XML resource file by instantiating a System.Resources.ResXResourceReader object, setting the ResXResourceReader.UseResXDataNodes property to true, and calling the ResXResourceReader.GetEnumerator method to retrieve an IDictionaryEnumerator object that you use to enumerate the items in the XML resource file. The IDictionaryEnumerator.Value property returns the System.Resources.ResXDataNode object.

Requirements

Namespace: System.Resources
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0