string Title { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Title property of the SceneFile class represents the title of a scene file in the Sandbox environment. This property is marked as obsolete, and it is recommended to use the GetMetadata method instead to retrieve metadata information, including the title.

Usage

To access the title of a scene file, it is recommended to use the GetMetadata method with the appropriate parameters. The Title property is still accessible but should be avoided in favor of the newer method.

Example

// Example of using GetMetadata to retrieve the title
SceneFile sceneFile = new SceneFile();
string title = sceneFile.GetMetadata("Title", "Default Title");

// Accessing the obsolete Title property (not recommended)
string obsoleteTitle = sceneFile.Title;