ResourceDictionary.FindName(String) 方法

定義

此「字典」實作不支援。Not supported by this Dictionary implementation.

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

參數

name
String

所要求之物件的名稱識別項。The name identifier for the object being requested.

傳回

Object

一律傳回 nullAlways returns null.

實作

備註

ResourceDictionary類別不支援以名稱註冊。The ResourceDictionary class does not support registering by name. 它會改為使用金鑰。It uses keys instead.

適用於