GenerateResource.PublicClass Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether the strongly typed class should be created public (with public methods) instead of the default internal. Analogous to resgen.exe's /publicClass switch.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
property bool PublicClass { bool get(); void set(bool value); };
public bool PublicClass { get; set; }
public bool PublicClass { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.PublicClass : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.PublicClass : bool with get, set
Public Property PublicClass As Boolean
Property Value
true
if the GenerateResource
task should create a strongly typed resource class as a public class; otherwise, false
.
- Attributes