Edytuj

Udostępnij za pośrednictwem


JournalEntry.SetName(DependencyObject, String) Method

Definition

Sets the Name attached property of the specified element.

public:
 static void SetName(System::Windows::DependencyObject ^ dependencyObject, System::String ^ name);
public static void SetName (System.Windows.DependencyObject dependencyObject, string name);
static member SetName : System.Windows.DependencyObject * string -> unit
Public Shared Sub SetName (dependencyObject As DependencyObject, name As String)

Parameters

dependencyObject
DependencyObject

The element on which to set the attached property value.

name
String

The name to be assigned to the attached property.

Applies to

See also