Open sandboxFocus

Constructor FieldOrPropertyInfo

FieldOrPropertyInfo(FieldInfo)

Initializes a new instance of the FieldOrPropertyInfo class that represents a field.

Declaration
public FieldOrPropertyInfo(FieldInfo fieldInfo)
Parameters
Type Name Description
FieldInfo fieldInfo

The field.

FieldOrPropertyInfo(PropertyInfo)

Initializes a new instance of the FieldOrPropertyInfo class that represents a property.

Declaration
public FieldOrPropertyInfo(PropertyInfo propertyInfo)
Parameters
Type Name Description
PropertyInfo propertyInfo

The property.