共用方式為


SearchOptionsItemTemplateSelector.SelectTemplate Method

Obtains the template for the specified search option item.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Overrides Function SelectTemplate ( _
    item As Object, _
    container As DependencyObject _
) As DataTemplate
public override DataTemplate SelectTemplate(
    Object item,
    DependencyObject container
)

Parameters

Return Value

Type: System.Windows.DataTemplate
Returns the template of the item.

.NET Framework Security

See Also

Reference

SearchOptionsItemTemplateSelector Class

Microsoft.VisualStudio.PlatformUI Namespace