แก้ไข

แชร์ผ่าน


MethodBuilder.ReturnParameter Property

Definition

Gets a ParameterInfo object that contains information about the return type of the method, such as whether the return type has custom modifiers.

public:
 virtual property System::Reflection::ParameterInfo ^ ReturnParameter { System::Reflection::ParameterInfo ^ get(); };
public override System.Reflection.ParameterInfo ReturnParameter { get; }
member this.ReturnParameter : System.Reflection.ParameterInfo
Public Overrides ReadOnly Property ReturnParameter As ParameterInfo

Property Value

A ParameterInfo object that contains information about the return type.

Exceptions

The declaring type has not been created.

Remarks

Compiler designers can use the ParameterInfo object returned by this property to discover whether custom modifiers, such as IsConstModifier, have been applied to the return type.

Applies to

See also