_PropertyInfo.GetAccessors Method ()

 

Provides COM objects with version-independent access to the GetAccessors method.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

MethodInfo[] GetAccessors()

Return Value

Type: System.Reflection.MethodInfo[]

An array of MethodInfo objects that reflect the public get, set, and other accessors of the property reflected by the current instance, if accessors are found; otherwise, this method returns an array with zero (0) elements.

This method is for access to managed classes from unmanaged code and should not be called from managed code.

The GetAccessors method returns an array whose elements reflect the public get, set, and other accessors of the property reflected by the current instance.

.NET Framework
Available since 1.1
Return to top
Show: