TaskProvider.DisableAutoRoute Property
Gets or sets whether autorouting should be disabled.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
声明
Public Property DisableAutoRoute As Boolean
Get
Set
用法
Dim instance As TaskProvider
Dim value As Boolean
value = instance.DisableAutoRoute
instance.DisableAutoRoute = value
public bool DisableAutoRoute { get; set; }
public:
property bool DisableAutoRoute {
bool get ();
void set (bool value);
}
member DisableAutoRoute : bool with get, set
function get DisableAutoRoute () : boolean
function set DisableAutoRoute (value : boolean)
Property Value
Type: System.Boolean
true if autorouting should be disabled, false if it should be enabled.
Remarks
Autorouting is the capability of routing this provider's tasks to predefined buckets based on their categories. It is controlled by the TPF_NOAUTOROUTING flag. This property sets this flag to the same value.
.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.