อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


RuleAttributeTarget Enum

Definition

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

C#
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

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1