RenderTreeBuilder.AddAttribute メソッド

定義

オーバーロード

AddAttribute(Int32, RenderTreeFrame)

属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。

AddAttribute(Int32, RenderTreeFrame)

属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。

AddAttribute(Int32, String)

ブール値属性を表すフレームを、値 'true' で追加します。

属性は、最後に追加された要素に関連付けられます。

AddAttribute(Int32, String, EventCallback)

属性を表すフレームを EventCallback 追加します。

属性は、最後に追加された要素に関連付けられます。 値が で null 、現在の要素がコンポーネントでない場合、フレームは省略されます。

AddAttribute(Int32, String, Boolean)

ブール値属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。 値が で false 、現在の要素がコンポーネントでない場合、フレームは省略されます。

AddAttribute(Int32, String, MulticastDelegate)

デリゲート値属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。 値が で null 、現在の要素がコンポーネントでない場合、フレームは省略されます。

AddAttribute(Int32, String, Object)

文字列値属性を表すフレームを追加します。 属性は、最後に追加された要素に関連付けられます。 値が nullの場合、または値falseBoolean現在の要素がコンポーネントでない場合、フレームは省略されます。

AddAttribute(Int32, String, String)

文字列値属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。 値が で null 、現在の要素がコンポーネントでない場合、フレームは省略されます。

AddAttribute<TArgument>(Int32, String, EventCallback<TArgument>)

属性を表すフレームを EventCallback 追加します。

属性は、最後に追加された要素に関連付けられます。 値が で null 、現在の要素がコンポーネントでない場合、フレームは省略されます。

AddAttribute(Int32, RenderTreeFrame)

属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。

public:
 void AddAttribute(int sequence, Microsoft::AspNetCore::Components::RenderTree::RenderTreeFrame frame);
public void AddAttribute (int sequence, Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame frame);
member this.AddAttribute : int * Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame -> unit
Public Sub AddAttribute (sequence As Integer, frame As RenderTreeFrame)

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

frame
RenderTreeFrame

RenderTreeFrame属性の名前と値を保持する 。

適用対象

AddAttribute(Int32, RenderTreeFrame)

属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。

public:
 void AddAttribute(int sequence, Microsoft::AspNetCore::Components::RenderTree::RenderTreeFrame % frame);
public void AddAttribute (int sequence, in Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame frame);
member this.AddAttribute : int * RenderTreeFrame -> unit
Public Sub AddAttribute (sequence As Integer, ByRef frame As RenderTreeFrame)

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

frame
RenderTreeFrame

RenderTreeFrame属性の名前と値を保持する 。

適用対象

AddAttribute(Int32, String)

ブール値属性を表すフレームを、値 'true' で追加します。

属性は、最後に追加された要素に関連付けられます。

public:
 void AddAttribute(int sequence, System::String ^ name);
public void AddAttribute (int sequence, string name);
member this.AddAttribute : int * string -> unit
Public Sub AddAttribute (sequence As Integer, name As String)

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

name
String

属性の名前。

適用対象

AddAttribute(Int32, String, EventCallback)

属性を表すフレームを EventCallback 追加します。

属性は、最後に追加された要素に関連付けられます。 値が で null 、現在の要素がコンポーネントでない場合、フレームは省略されます。

public:
 void AddAttribute(int sequence, System::String ^ name, Microsoft::AspNetCore::Components::EventCallback value);
public void AddAttribute (int sequence, string name, Microsoft.AspNetCore.Components.EventCallback value);
member this.AddAttribute : int * string * Microsoft.AspNetCore.Components.EventCallback -> unit
Public Sub AddAttribute (sequence As Integer, name As String, value As EventCallback)

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

name
String

属性の名前。

value
EventCallback

属性の値。

注釈

このメソッドはインフラストラクチャの目的で提供され、 を使用する生成されたコードをサポートするために使用 EventCallbackFactoryされます。

適用対象

AddAttribute(Int32, String, Boolean)

ブール値属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。 値が で false 、現在の要素がコンポーネントでない場合、フレームは省略されます。

public:
 void AddAttribute(int sequence, System::String ^ name, bool value);
public void AddAttribute (int sequence, string name, bool value);
member this.AddAttribute : int * string * bool -> unit
Public Sub AddAttribute (sequence As Integer, name As String, value As Boolean)

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

name
String

属性の名前。

value
Boolean

属性の値。

適用対象

AddAttribute(Int32, String, MulticastDelegate)

デリゲート値属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。 値が で null 、現在の要素がコンポーネントでない場合、フレームは省略されます。

public:
 void AddAttribute(int sequence, System::String ^ name, MulticastDelegate ^ value);
public void AddAttribute (int sequence, string name, MulticastDelegate value);
public void AddAttribute (int sequence, string name, MulticastDelegate? value);
member this.AddAttribute : int * string * MulticastDelegate -> unit
Public Sub AddAttribute (sequence As Integer, name As String, value As MulticastDelegate)

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

name
String

属性の名前。

value
MulticastDelegate

属性の値。

適用対象

AddAttribute(Int32, String, Object)

文字列値属性を表すフレームを追加します。 属性は、最後に追加された要素に関連付けられます。 値が nullの場合、または値falseBoolean現在の要素がコンポーネントでない場合、フレームは省略されます。

public:
 void AddAttribute(int sequence, System::String ^ name, System::Object ^ value);
public void AddAttribute (int sequence, string name, object value);
public void AddAttribute (int sequence, string name, object? value);
member this.AddAttribute : int * string * obj -> unit
Public Sub AddAttribute (sequence As Integer, name As String, value As Object)

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

name
String

属性の名前。

value
Object

属性の値。

適用対象

AddAttribute(Int32, String, String)

文字列値属性を表すフレームを追加します。

属性は、最後に追加された要素に関連付けられます。 値が で null 、現在の要素がコンポーネントでない場合、フレームは省略されます。

public:
 void AddAttribute(int sequence, System::String ^ name, System::String ^ value);
public void AddAttribute (int sequence, string name, string value);
public void AddAttribute (int sequence, string name, string? value);
member this.AddAttribute : int * string * string -> unit
Public Sub AddAttribute (sequence As Integer, name As String, value As String)

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

name
String

属性の名前。

value
String

属性の値。

適用対象

AddAttribute<TArgument>(Int32, String, EventCallback<TArgument>)

属性を表すフレームを EventCallback 追加します。

属性は、最後に追加された要素に関連付けられます。 値が で null 、現在の要素がコンポーネントでない場合、フレームは省略されます。

public:
generic <typename TArgument>
 void AddAttribute(int sequence, System::String ^ name, Microsoft::AspNetCore::Components::EventCallback<TArgument> value);
public void AddAttribute<TArgument> (int sequence, string name, Microsoft.AspNetCore.Components.EventCallback<TArgument> value);
member this.AddAttribute : int * string * Microsoft.AspNetCore.Components.EventCallback<'Argument> -> unit
Public Sub AddAttribute(Of TArgument) (sequence As Integer, name As String, value As EventCallback(Of TArgument))

型パラメーター

TArgument

パラメーター

sequence
Int32

ソース コード内の命令の位置を表す整数。

name
String

属性の名前。

value
EventCallback<TArgument>

属性の値。

注釈

このメソッドはインフラストラクチャの目的で提供され、 を使用する生成されたコードをサポートするために使用 EventCallbackFactoryされます。

適用対象