Share via


ApiExplorerSettingsAttribute.IgnoreApi Property

 

Gets or sets a value indicating whether to exclude the controller or action from the ApiDescription instances generated by ApiExplorer.

Namespace:   System.Web.Http.Description
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public bool IgnoreApi {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property bool IgnoreApi {
    [CompilerGeneratedAttribute]
    bool get();
    [CompilerGeneratedAttribute]
    void set(bool value);
}
member IgnoreApi : bool with get, set
Public Property IgnoreApi As Boolean

Property Value

Type: System.Boolean

true if the controller or action should be ignored; otherwise, false.

See Also

ApiExplorerSettingsAttribute Class
System.Web.Http.Description Namespace

Return to top