Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Obtains the template for the specified search option item.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Overrides Function SelectTemplate ( _
item As Object, _
container As DependencyObject _
) As DataTemplate
public override DataTemplate SelectTemplate(
Object item,
DependencyObject container
)
public:
virtual DataTemplate^ SelectTemplate(
Object^ item,
DependencyObject^ container
) override
abstract SelectTemplate :
item:Object *
container:DependencyObject -> DataTemplate
override SelectTemplate :
item:Object *
container:DependencyObject -> DataTemplate
public override function SelectTemplate(
item : Object,
container : DependencyObject
) : DataTemplate
Parameters
item
Type: ObjectThe item to get the template for.
container
Type: DependencyObjectThe option button containing the item.
Return Value
Type: DataTemplate
Returns the template of the item.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.