The PackageType
property represents the type of the package within the ProjectConfig
class. This property is marked as obsolete, and it is recommended to compare the string Type
instead.
The PackageType
property represents the type of the package within the ProjectConfig
class. This property is marked as obsolete, and it is recommended to compare the string Type
instead.
To access the PackageType
property, you need to have an instance of the ProjectConfig
class. However, since this property is obsolete, it is advised to use the Type
property for determining the package type.
// Example of accessing the PackageType property // Note: This property is obsolete, use the Type property instead ProjectConfig config = new ProjectConfig(); var packageType = config.PackageType; // Obsolete usage // Recommended usage var type = config.Type;