PropertyDefinition Methods |
The PropertyDefinition type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve | (Overrides PropertyReferenceResolve.) | |
ToString | (Inherited from MemberReference.) |
Name | Description | |
---|---|---|
GetCategory |
Get the category name (field, method, etc).
(Defined by MemberReferenceUtil.) | |
GetCustomAttribute |
Get the custom attribute with the specified name from the ICustomAttributeProvider. If there are multiple attributes with the name, the first one is returned.
(Defined by ICustomAttributeProviderUtil.) | |
GetCustomAttributes |
Get all custom attributes with the specified name from the ICustomAttributeProvider.
(Defined by ICustomAttributeProviderUtil.) | |
GetFullName |
Get the full name of the type or member, including the namespace name.
(Defined by MemberReferenceUtil.) | |
HasCustomAttribute |
Determine if the ICustomAttributeProvider has a custom attribute.
(Defined by ICustomAttributeProviderUtil.) | |
HasDynamicType |
Determine if the member has a dynamic type.
(Defined by ICustomAttributeProviderUtil.) | |
IsAbstract |
Return true if the property is abstract, otherwise false.
(Defined by PropertyDefinitionUtil.) | |
IsIndexed |
Check if the property is indexed (if it's an indexer).
(Defined by PropertyDefinitionUtil.) | |
IsInternal |
Return true if the property is internal, otherwise false.
(Defined by PropertyDefinitionUtil.) | |
IsPrivate |
Return true if the property is private, otherwise false.
(Defined by PropertyDefinitionUtil.) | |
IsProtected |
Return true if the property is protected, otherwise false.
(Defined by PropertyDefinitionUtil.) | |
IsPublic |
Return true if the property is public, otherwise false.
(Defined by PropertyDefinitionUtil.) | |
IsStatic |
Return true if the property is static, otherwise false.
(Defined by PropertyDefinitionUtil.) | |
IsVirtual |
Return true if the property is virtual, otherwise false.
(Defined by PropertyDefinitionUtil.) |