Description
The ClassName
field represents the internal class name of a type or member within the DisplayInfo
structure. This name is typically formatted in all lowercase and should not contain any unusual symbols or whitespace. It is used internally to identify the class or member in a consistent manner.
Usage
Use the ClassName
field to retrieve or set the internal name of a class or member when working with the DisplayInfo
structure. This can be useful for debugging, logging, or when you need to programmatically access or manipulate class information based on its internal name.
Example
// Example of accessing the ClassName field
DisplayInfo displayInfo = new DisplayInfo();
string internalName = displayInfo.ClassName;
// Example of setting the ClassName field
DisplayInfo anotherDisplayInfo = new DisplayInfo();
anotherDisplayInfo.ClassName = "myclassname";