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
'Usage
Dim instance As VirtualTypeBuilder
Dim value As Boolean
value = instance.IsPublic
instance.IsPublic = value
public bool IsPublic { get; set; }
public:
property bool IsPublic {
bool get ();
void set (bool value);
}
public function get IsPublic () : boolean
public 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.