INameScope.FindName Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: