Bewerken

Delen via


COMPropertyInfo.GetAccessors(Boolean) Method

Definition

Gets an array whose elements contain the get and set accessors of the external COM property that this object represents.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 override cli::array <System::Reflection::MethodInfo ^> ^ GetAccessors(bool nonPublic);
public override System.Reflection.MethodInfo[] GetAccessors (bool nonPublic);
override this.GetAccessors : bool -> System.Reflection.MethodInfo[]
Public Overrides Function GetAccessors (nonPublic As Boolean) As MethodInfo()

Parameters

nonPublic
Boolean

true to include non-public accessors.

Returns

A two-element array of MethodInfo objects that contains the get and set methods of this property.

Applies to

See also