System.Web.UI.WebControls.WebParts.PersonalizableAttribute.GetPersonalizableProperties Method

Returns a collection of System.Reflection.PropertyInfo objects for the properties that match the parameter type and are marked as personalizable.

Syntax

public static ICollection GetPersonalizableProperties (Type type)

Parameters

type
The type on which to look for Personalizable properties.

Returns

An ICollection of personalizable properties.

Remarks

This method returns a collection containing zero or more System.Reflection.PropertyInfo objects, with one object in the collection for each property of the type specified that is marked as being personalizable, where PersonalizableAttribute.IsPersonalizable equals true.

The type parameter is the type on which to look for Personalizable properties. For example, you would pass in "typeof(MyWebPart)" to get the Personalizable properties on the MyWebPart class.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0