DocumentProperties.Visible Property
Determines if the DocumentProperties object is visible in the Properties window.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
‘선언
<BrowsableAttribute(False)> _
Public Property Visible As Boolean
Get
Set
‘사용 방법
Dim instance As DocumentProperties
Dim value As Boolean
value = instance.Visible
instance.Visible = value
[BrowsableAttribute(false)]
public bool Visible { get; set; }
[BrowsableAttribute(false)]
public:
property bool Visible {
bool get ();
void set (bool value);
}
[<BrowsableAttribute(false)>]
member Visible : bool with get, set
function get Visible () : boolean
function set Visible (value : boolean)
Property Value
Type: System.Boolean
If the DocumentProperties object is visible, returns true; otherwise, returns false.
Remarks
The DocumentProperties class uses an internal flag to track visibility and this flag is set in the DocumentProperties class constructor. If the internal flag is changed by the Visible property, the Properties window is refreshed but only if the internal flag differs from the new flag.
.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.