PersonalizableAttribute::GetPersonalizableProperties Method
Returns a collection of PropertyInfo objects for the properties that match the parameter type and are marked as personalizable.
Assembly: System.Web (in System.Web.dll)
Parameters
- type
- Type: System::Type
The type on which to look for Personalizable properties.
| Exception | Condition |
|---|---|
| HttpException | A public property on the type is marked as personalizable but is read-only. |
This method returns a collection containing zero or more PropertyInfo objects, with one object in the collection for each property of the type specified that is marked as being personalizable, where 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.