Redigera

Dela via


Style.RegisterName(String, Object) Method

Definition

Registers a new name-object pair in the current namescope.

public:
 virtual void RegisterName(System::String ^ name, System::Object ^ scopedElement);
public void RegisterName (string name, object scopedElement);
abstract member RegisterName : string * obj -> unit
override this.RegisterName : string * obj -> unit
Public Sub RegisterName (name As String, scopedElement As Object)

Parameters

name
String

The name to register.

scopedElement
Object

The object to map to the specified name.

Implements

Applies to