Visual Basic (Declaration) | |
---|---|
Public Function FindMouseTool(Of T As IDiagramTool)( _ ByVal subclass As Boolean _ ) As T |
C# | |
---|---|
public T FindMouseTool<T>( bool subclass )where T: IDiagramTool |
Parameters
- subclass
- If true, a matching tool may be a subclass of T; otherwise the tool must be of exactly the same type.
Type Parameters
- T
- this must implement IDiagramTool