Edit

Share via


INameScope.FindName(String) Method

Definition

Returns an object that has the provided identifying name.

public:
 System::Object ^ FindName(System::String ^ name);
public object FindName (string name);
abstract member FindName : string -> obj
Public Function FindName (name As String) As Object

Parameters

name
String

The name identifier for the object being requested.

Returns

The object, if found. Returns null if no object of that name was found.

Remarks

Valid name strings in XAML markup must match the requirements documented in XamlName Grammar.

Applies to

See also