PropertyBuilder Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The PropertyBuilder type exposes the following members.

Methods

  Name Description
Public method AddOtherMethod Adds one of the methods other than property accessors that can be associated with a property.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAccessors() Returns an array whose elements reflect the public get, set, and other accessors of the property reflected by the current instance. (Inherited from PropertyInfo.)
Public method GetAccessors(Boolean) Returns an array of the public and non-public get and set accessors on this property. This method is not supported. (Overrides PropertyInfo.GetAccessors(Boolean).)
Public method GetConstantValue Returns a literal value associated with the property by a compiler. (Inherited from PropertyInfo.)
Public method GetCustomAttributes(Boolean) Returns an array of all the custom attributes for this property. This method is not supported. (Overrides MemberInfo.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Returns an array of custom attributes identified by Type. This method is not supported. (Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)
Public method GetGetMethod() Returns the public get accessor for this property. (Inherited from PropertyInfo.)
Public method GetGetMethod(Boolean) Returns the public or non-public get accessor for this property. (Overrides PropertyInfo.GetGetMethod(Boolean).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIndexParameters Returns an array of all the index parameters for the property. This method is not supported. (Overrides PropertyInfo.GetIndexParameters().)
Public method GetRawConstantValue Returns a literal value associated with the property by a compiler. (Inherited from PropertyInfo.)
Public method GetSetMethod() Returns the public set accessor for this property. (Inherited from PropertyInfo.)
Public method GetSetMethod(Boolean) Returns the set accessor for this property. (Overrides PropertyInfo.GetSetMethod(Boolean).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue(Object, array<Object[]) Gets the value of the indexed property by calling the property's getter method. This method is not supported. (Overrides PropertyInfo.GetValue(Object, array<Object[]).)
Public method GetValue(Object, BindingFlags, Binder, array<Object[], CultureInfo) Gets the value of a property that has the specified binding, index, and CultureInfo. This method is not supported. (Overrides PropertyInfo.GetValue(Object, BindingFlags, Binder, array<Object[], CultureInfo).)
Public method IsDefined Indicates whether one or more instances of attributeType are defined on this property. This method is not supported. (Overrides MemberInfo.IsDefined(Type, Boolean).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetConstant Sets the default value of this property.
Public method SetCustomAttribute Applies a custom attribute by using a custom attribute builder.
Public method SetGetMethod Sets a get accessor, which is the method that gets the property value.
Public method SetSetMethod Sets the set accessor, which is the method that sets the property value.
Public method SetValue(Object, Object, array<Object[]) Sets the value of the property with optional index values for index properties. This method is not supported. (Overrides PropertyInfo.SetValue(Object, Object, array<Object[]).)
Public method SetValue(Object, Object, BindingFlags, Binder, array<Object[], CultureInfo) Sets the property value for the given object to the given value. This method is not supported. (Overrides PropertyInfo.SetValue(Object, Object, BindingFlags, Binder, array<Object[], CultureInfo).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top