Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​DataObjectMethodAttribute
Assembly: System.ComponentModel.TypeConverter
Inheritance: object → Attribute → DataObjectMethodAttribute
Identifies a data operation method exposed by a type, what type of operation the method performs, and whether the method is the default data method. This class cannot be inherited.
Properties
public
bool
IsDefault
Gets a value indicating whether the method that the <see cref="T:System.ComponentModel.DataObjectMethodAttribute" /> is applied to is the default data method exposed by the data object for a specific method type.
public
DataObjectMethodType
MethodType
Gets a <see cref="T:System.ComponentModel.DataObjectMethodType" /> value indicating the type of data operation the method performs.
public
object
TypeId
Methods
public
bool
Equals​(object obj)
Returns a value indicating whether this instance is equal to a specified object.
Returns <see langword="true" /> if this instance is the same as the instance specified by the <paramref name="obj" /> parameter; otherwise, <see langword="false" /> .
obj
An object to compare with this instance of <see cref="T:System.ComponentModel.DataObjectMethodAttribute" /> .
public
int
GetHashCode​()
Returns the hash code for this instance.
Returns A 32-bit signed integer hash code.
public
bool
Match​(object obj)
Gets a value indicating whether this instance shares a common pattern with a specified attribute.
Returns <see langword="true" /> if this instance is the same as the instance specified by the <paramref name="obj" /> parameter; otherwise, <see langword="false" /> .
obj
An object to compare with this instance of <see cref="T:System.ComponentModel.DataObjectMethodAttribute" /> .
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object