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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.