VirtualTypeBuilder.IsPublic Property
Gets or sets a value indicating whether the resulting virtual type has the public access modifier.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Property IsPublic As Boolean
public bool IsPublic { get; set; }
public:
property bool IsPublic {
bool get ();
void set (bool value);
}
member IsPublic : bool with get, set
function get IsPublic () : boolean
function set IsPublic (value : boolean)
Property Value
Type: System.Boolean
true if the access modifier for the virtual type is public; otherwise, false.
Remarks
The default value is true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.