Style.INameScope.FindName(String) 方法

定義

傳回具有所提供之識別名稱的物件。

 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

參數

name
String

所要求之物件的名稱識別項。

傳回

Object

物件,如果找到的話。 如果找不到該名稱的任何物件則傳回 null

實作

備註

這個成員是明確介面成員實作, 只有在 Style 執行個體轉換成 INameScope 介面時,才能使用這個成員。

適用於