PersonalizableAttribute.GetPersonalizableProperties(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a collection of PropertyInfo objects for the properties that match the parameter type and are marked as personalizable.
public:
static System::Collections::ICollection ^ GetPersonalizableProperties(Type ^ type);
public static System.Collections.ICollection GetPersonalizableProperties (Type type);
static member GetPersonalizableProperties : Type -> System.Collections.ICollection
Public Shared Function GetPersonalizableProperties (type As Type) As ICollection
Parameters
- type
- Type
The type on which to look for Personalizable
properties.
Returns
An ICollection of personalizable properties.
Exceptions
A public property on the type is marked as personalizable but is read-only.
Remarks
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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기