INameScope.FindName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an object that has the provided identifying name.
public:
System::Object ^ FindName(System::String ^ name);
public object FindName (string name);
abstract member FindName : string -> obj
Public Function FindName (name As String) As Object
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.
Remarks
Valid name strings in XAML markup must match the requirements documented in XamlName Grammar.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.