Editare

Partajați prin


RuleAttributeTarget Enum

Definition

Specifies whether the path in a RuleReadAttribute or RuleWriteAttribute is for a method parameter, or this.

public enum class RuleAttributeTarget
public enum RuleAttributeTarget
type RuleAttributeTarget = 
Public Enum RuleAttributeTarget
Inheritance
RuleAttributeTarget

Fields

Name Value Description
Parameter 0

Specifies the path is an absolute path beginning with a parameter name, which optionally can be followed by a path to an inner member.

This 1

Specifies the path is a relative or absolute path, beginning with the token this.

Remarks

Use with the RuleReadAttribute and RuleWriteAttribute classes.

Applies to