ChildInfo(FieldInfo, RelationshipInfo)
Initializes a new instance of the ChildInfo that represents a field.
Declaration
public ChildInfo(FieldInfo field, RelationshipInfo relationshipInfo)Parameters
| Type | Name | Description |
|---|---|---|
| FieldInfo | field | A field. |
| RelationshipInfo | relationshipInfo | A RelationshipInfo instance that describes the kind of relationship of the child object to its direct parent. |
ChildInfo(string, Type, RelationshipInfo)
Initializes a new instance of the ChildInfo that represents a collection item or a custom location.
Declaration
public ChildInfo(string locationName, Type locationType, RelationshipInfo relationshipInfo)Parameters
| Type | Name | Description |
|---|---|---|
| string | locationName | Name of the location, for instance |
| Type | locationType | Type of the location. |
| RelationshipInfo | relationshipInfo | A RelationshipInfo instance that describes the kind of relationship of the child object to its direct parent. |
ChildInfo(PortableFormatterConstructorContext)
Declaration
protected ChildInfo(PortableFormatterConstructorContext context)Parameters
| Type | Name | Description |
|---|---|---|
| PortableFormatterConstructorContext | context |