INameScope::FindName Method (String^)

 

Returns an object that has the provided identifying name.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

Object^ FindName(
	String^ name
)

Parameters

name
Type: System::String^

The name identifier for the object being requested.

Return Value

Type: System::Object^

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

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

.NET Framework
Available since 3.0
Return to top
Show: