다음을 통해 공유


TextSearch.GetTextPath Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns the name of the property that identifies an item in the specified element's collection.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Shared Function GetTextPath ( _
    element As DependencyObject _
) As String
public static string GetTextPath(
    DependencyObject element
)

Parameters

Return Value

Type: System.String
The name of the property that identifies the item to the user.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.