AttributeTargetAttribute Class

Definition

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

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

Constructors

AttributeTargetAttribute(String, String)

Initializes a new instance of the AttributeTargetAttribute class. A required attribute of a parameter if the parameter is of type OptionSetValue.

Properties

AttributeName

The name of the target attribute of the entity.

EntityName

The target entity name.

Applies to