03.01.2015 Views

C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ParameterInfo ❘ 875<br />

Property<br />

DefaultValue<br />

HasDefaultValue<br />

IsIn<br />

IsOptional<br />

IsOut<br />

Member<br />

Name<br />

ParameterType<br />

Position<br />

Description<br />

Returns the parameter’s default value, if it has one<br />

Returns true if the parameter has a default value<br />

Returns true if the parameter is an input parameter<br />

Returns true if the parameter is optional<br />

Returns true if the parameter is an output parameter<br />

Returns the member that uses the parameter<br />

Returns the parameter’s name<br />

Returns the parameter’s type<br />

Returns the parameter’s position (numbered from 0) in a<br />

parameter list<br />

The ParameterInfo class’s most useful method is GetCustomAttributes, which returns information<br />

about the parameter’s custom attributes.<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!