次の方法で共有


GenerateResource.PublicClass Property

Definition

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

Applies to