Type::IsVisible Property
Silverlight
Gets a value indicating whether the Type can be accessed by code outside the assembly.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::Booleantrue if the current Type is a public type or a public nested type such that all the enclosing types are public; otherwise, false.
The following code example tests two classes, only one of which is visible outside the assembly.
Note: |
|---|
To run this example, see Building Examples That Use a Demo Method and a TextBlock Control. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show:
Note: