ParameterAttribute 類別

定義

將目標成員表示為元件參數。

public ref class ParameterAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class ParameterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ParameterAttribute = class
    inherit Attribute
Public NotInheritable Class ParameterAttribute
Inherits Attribute
繼承
ParameterAttribute
屬性

建構函式

ParameterAttribute()

將目標成員表示為元件參數。

屬性

CaptureUnmatchedValues

取得或設定值,判斷參數是否會擷取不符合任何其他參數的值。

適用於