ResXDataNode::Comment Property
.NET Framework (current version)
Gets or sets an arbitrary comment regarding this resource.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
If a comment has not been assigned to the resource item, the value of the Comment property is String::Empty.
You access the Comment property of an data node in an existing XML resource file by instantiating a 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 ResXDataNode object.
See the example for the ResXDataNode class.
.NET Framework
Available since 2.0
Available since 2.0
Show: