AWS SDK for .NET Documentation
WithFilter Method (list)
AmazonAmazon.EC2.ModelDescribeSubnetsRequestWithFilter(array<Filter>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the filter to apply on the results of DescribeSubnets.
Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public DescribeSubnetsRequest WithFilter(
	params Filter[] list
)
Parameters
list (array<Filter>[]()[][])
The filter to apply on the results of DescribeSubnets. Filters can be: a. state - The state of the subnet. (pending, available). b. vpcId - The ID of the VPC the subnet is in. c. cidrBlock - The CIDR block of the subnet. The CIDR block you specify must exactly match the subnet's CIDR block for information to be returned for the subnet. Constraints: Must contain the slash followed by one or two digits (e.g., /28) d. - The Availability Zone the subnet is in.
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)