Editar

Compartilhar via


Style.INameScope.FindName(String) Method

Definition

Returns an object that has the provided identifying name.

 virtual System::Object ^ System.Windows.Markup.INameScope.FindName(System::String ^ name) = System::Windows::Markup::INameScope::FindName;
object INameScope.FindName (string name);
abstract member System.Windows.Markup.INameScope.FindName : string -> obj
override this.System.Windows.Markup.INameScope.FindName : string -> obj
Function FindName (name As String) As Object Implements INameScope.FindName

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.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Style instance is cast to an INameScope interface.

Applies to