PropertyDefinition Class |
Namespace: Mono.Cecil
public sealed class PropertyDefinition : PropertyReference, IMemberDefinition, ICustomAttributeProvider, IMetadataTokenProvider, IConstantProvider
The PropertyDefinition type exposes the following members.
Name | Description | |
---|---|---|
PropertyDefinition | Initializes a new instance of the PropertyDefinition class |
Name | Description | |
---|---|---|
Attributes | ||
Constant | ||
CustomAttributes | ||
DeclaringType | ||
FullName | (Overrides MemberReferenceFullName.) | |
GetMethod | ||
HasConstant | ||
HasCustomAttributes | ||
HasDefault | ||
HasOtherMethods | ||
HasParameters | ||
HasThis | ||
IsDefinition | (Overrides MemberReferenceIsDefinition.) | |
IsRuntimeSpecialName | ||
IsSpecialName | ||
MetadataToken | (Inherited from MemberReference.) | |
Module | (Inherited from MemberReference.) | |
Name | (Inherited from MemberReference.) | |
OtherMethods | ||
Parameters | (Overrides PropertyReferenceParameters.) | |
PropertyType | (Inherited from PropertyReference.) | |
SetMethod |
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.) |