mscorlib(4.0.0.0) API with additions
ExpandableObjectConverter.cs
1
using
System
.
Security
.
Permissions
;
2
3
namespace
System.ComponentModel
4
{
6
[HostProtection(
SecurityAction
.LinkDemand, SharedState =
true
)]
7
public
class
ExpandableObjectConverter
:
TypeConverter
8
{
14
public
override
PropertyDescriptorCollection
GetProperties
(
ITypeDescriptorContext
context,
object
value,
Attribute
[] attributes)
15
{
16
return
TypeDescriptor
.
GetProperties
(value, attributes);
17
}
18
23
public
override
bool
GetPropertiesSupported
(
ITypeDescriptorContext
context)
24
{
25
return
true
;
26
}
27
}
28
}
System.Security
Definition:
AllowPartiallyTrustedCallersAttribute.cs:3
System.ComponentModel.ExpandableObjectConverter.GetPropertiesSupported
override bool GetPropertiesSupported(ITypeDescriptorContext context)
Gets a value indicating whether this object supports properties using the specified context.
Definition:
ExpandableObjectConverter.cs:23
System.Attribute
Represents the base class for custom attributes.
Definition:
Attribute.cs:15
System
Definition:
__Canon.cs:3
System.ComponentModel.ExpandableObjectConverter
Provides a type converter to convert expandable objects to and from various other representations.
Definition:
ExpandableObjectConverter.cs:7
System.ComponentModel.ITypeDescriptorContext
Provides contextual information about a component, such as its container and property descriptor.
Definition:
ITypeDescriptorContext.cs:7
System.Security.Permissions.SecurityAction
SecurityAction
Specifies the security actions that can be performed using declarative security.
Definition:
SecurityAction.cs:8
System.ComponentModel.TypeDescriptor
Provides information about the characteristics for a component, such as its attributes,...
Definition:
TypeDescriptor.cs:15
System.ComponentModel
Definition:
AddingNewEventArgs.cs:3
System.ComponentModel.TypeDescriptor.GetProperties
static PropertyDescriptorCollection GetProperties(Type componentType)
Returns the collection of properties for a specified type of component.
Definition:
TypeDescriptor.cs:2267
System.ComponentModel.PropertyDescriptorCollection
Represents a collection of T:System.ComponentModel.PropertyDescriptor objects.
Definition:
PropertyDescriptorCollection.cs:9
System.ComponentModel.ExpandableObjectConverter.GetProperties
override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Gets a collection of properties for the type of object specified by the value parameter.
Definition:
ExpandableObjectConverter.cs:14
System.Security.Permissions
Definition:
BuiltInPermissionFlag.cs:1
System.ComponentModel.TypeConverter
Provides a unified way of converting types of values to other types, as well as for accessing standar...
Definition:
TypeConverter.cs:13
All cs
System.ComponentModel
ExpandableObjectConverter.cs
Generated by
1.8.15