Compartir a través de


ReferenceTargetAttribute Class

Definition

A required attribute of a parameter if the parameter is of type EntityReference.

public ref class ReferenceTargetAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class ReferenceTargetAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type ReferenceTargetAttribute = class
    inherit Attribute
Public NotInheritable Class ReferenceTargetAttribute
Inherits Attribute
Inheritance
ReferenceTargetAttribute
Attributes

Remarks

Note that only a single instance of this attribute can be added.

Constructors

ReferenceTargetAttribute(String)

Initializes a new instance of the ReferenceTargetAttribute class. A required attribute of a parameter if the parameter is of type EntityReference.

Properties

EntityName

The name of the target entity

Applies to