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.

返回

始终返回 nullAlways returns null.

实现

注解

ResourceDictionary 类不支持按名称注册。The ResourceDictionary class does not support registering by name. 它使用密钥。It uses keys instead.

适用于