DisplayInfo GetDisplayInfo()

book_4_sparkGenerated
code_blocksInput

Description

The GetDisplayInfo method of the MemberDescription class provides access to the complete DisplayInfo for the type. This method is optimized for performance by avoiding the need to recreate the DisplayInfo each time it is required.

Usage

To use the GetDisplayInfo method, simply call it on an instance of the MemberDescription class. This will return a DisplayInfo object that contains detailed information about the type member.

Example

// Example of using GetDisplayInfo
MemberDescription memberDescription = new MemberDescription();
DisplayInfo displayInfo = memberDescription.GetDisplayInfo();

// Use displayInfo as needed
string title = displayInfo.Title;
string description = displayInfo.Description;