/
CivicAddress.xml
437 lines (414 loc) · 29 KB
/
CivicAddress.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<Type Name="CivicAddress" FullName="System.Device.Location.CivicAddress">
<TypeSignature Language="C#" Value="public class CivicAddress" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CivicAddress extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Device.Location.CivicAddress" />
<TypeSignature Language="VB.NET" Value="Public Class CivicAddress" />
<TypeSignature Language="F#" Value="type CivicAddress = class" />
<TypeSignature Language="C++ CLI" Value="public ref class CivicAddress" />
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a civic address. A civic address can include fields such as street address, postal code, state/province, and country or region.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A civic address for a location can be obtained from a <xref:System.Device.Location.GeoCoordinate> by using a class that implements <xref:System.Device.Location.ICivicAddressResolver>.
The <xref:System.Device.Location.CivicAddressResolver> class provides a default implementation that returns the civic address that corresponds to a <xref:System.Device.Location.GeoCoordinate>, if the location source provides both coordinate data as well as civic address data.
<xref:System.Device.Location.CivicAddressResolver.ResolveAddress%2A> returns a <xref:System.Device.Location.CivicAddress> for the current location. If the location source is unable to resolve the coordinate position to a civic address, <xref:System.Device.Location.CivicAddress.Unknown> is returned.
## Examples
The following example shows how to resolve a <xref:System.Device.Location.CivicAddress> from a <xref:System.Device.Location.GeoCoordinate> location synchronously.
:::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet1":::
The following example shows how to resolve a <xref:System.Device.Location.CivicAddress> from a <xref:System.Device.Location.GeoCoordinate> location asynchronously.
:::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddressasync.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb" id="Snippet1":::
]]></format>
</remarks>
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Device.Location.CivicAddress" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CivicAddress ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Device.Location.CivicAddress.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 CivicAddress();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Device.Location.CivicAddress" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
All fields are initialized to <xref:System.String.Empty>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CivicAddress (string addressLine1, string addressLine2, string building, string city, string countryRegion, string floorLevel, string postalCode, string stateProvince);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string addressLine1, string addressLine2, string building, string city, string countryRegion, string floorLevel, string postalCode, string stateProvince) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Device.Location.CivicAddress.#ctor(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (addressLine1 As String, addressLine2 As String, building As String, city As String, countryRegion As String, floorLevel As String, postalCode As String, stateProvince As String)" />
<MemberSignature Language="F#" Value="new System.Device.Location.CivicAddress : string * string * string * string * string * string * string * string -> System.Device.Location.CivicAddress" Usage="new System.Device.Location.CivicAddress (addressLine1, addressLine2, building, city, countryRegion, floorLevel, postalCode, stateProvince)" />
<MemberSignature Language="C++ CLI" Value="public:
 CivicAddress(System::String ^ addressLine1, System::String ^ addressLine2, System::String ^ building, System::String ^ city, System::String ^ countryRegion, System::String ^ floorLevel, System::String ^ postalCode, System::String ^ stateProvince);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="addressLine1" Type="System.String" />
<Parameter Name="addressLine2" Type="System.String" />
<Parameter Name="building" Type="System.String" />
<Parameter Name="city" Type="System.String" />
<Parameter Name="countryRegion" Type="System.String" />
<Parameter Name="floorLevel" Type="System.String" />
<Parameter Name="postalCode" Type="System.String" />
<Parameter Name="stateProvince" Type="System.String" />
</Parameters>
<Docs>
<param name="addressLine1">A string containing the first line of the street address.</param>
<param name="addressLine2">A string containing the second line of the street address.</param>
<param name="building">A string containing the building name or number.</param>
<param name="city">A string containing the city.</param>
<param name="countryRegion">A string containing the country or region.</param>
<param name="floorLevel">A string containing the floor number.</param>
<param name="postalCode">A string containing the postal code.</param>
<param name="stateProvince">A string containing the state or province.</param>
<summary>Initializes a new instance of the <see cref="T:System.Device.Location.CivicAddress" /> class using address information.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">At least one parameter must be a non-empty string.</exception>
</Docs>
</Member>
<Member MemberName="AddressLine1">
<MemberSignature Language="C#" Value="public string AddressLine1 { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string AddressLine1" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.AddressLine1" />
<MemberSignature Language="VB.NET" Value="Public Property AddressLine1 As String" />
<MemberSignature Language="F#" Value="member this.AddressLine1 : string with get, set" Usage="System.Device.Location.CivicAddress.AddressLine1" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ AddressLine1 { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the first line of the address.</summary>
<value>The first line of the address. If the data is not provided, returns <see cref="F:System.String.Empty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddressLine2">
<MemberSignature Language="C#" Value="public string AddressLine2 { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string AddressLine2" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.AddressLine2" />
<MemberSignature Language="VB.NET" Value="Public Property AddressLine2 As String" />
<MemberSignature Language="F#" Value="member this.AddressLine2 : string with get, set" Usage="System.Device.Location.CivicAddress.AddressLine2" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ AddressLine2 { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the second line of the address.</summary>
<value>The second line of the address. If the data is not provided, returns <see cref="F:System.String.Empty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Building">
<MemberSignature Language="C#" Value="public string Building { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Building" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.Building" />
<MemberSignature Language="VB.NET" Value="Public Property Building As String" />
<MemberSignature Language="F#" Value="member this.Building : string with get, set" Usage="System.Device.Location.CivicAddress.Building" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Building { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the building name or number.</summary>
<value>The building name or number. If the data is not provided, returns <see cref="F:System.String.Empty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="City">
<MemberSignature Language="C#" Value="public string City { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string City" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.City" />
<MemberSignature Language="VB.NET" Value="Public Property City As String" />
<MemberSignature Language="F#" Value="member this.City : string with get, set" Usage="System.Device.Location.CivicAddress.City" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ City { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the name of the city.</summary>
<value>The name of the city. If the data is not provided, returns <see cref="F:System.String.Empty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CountryRegion">
<MemberSignature Language="C#" Value="public string CountryRegion { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string CountryRegion" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.CountryRegion" />
<MemberSignature Language="VB.NET" Value="Public Property CountryRegion As String" />
<MemberSignature Language="F#" Value="member this.CountryRegion : string with get, set" Usage="System.Device.Location.CivicAddress.CountryRegion" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ CountryRegion { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the country or region of the location.</summary>
<value>The country or region code. If the data is not provided, returns <see cref="F:System.String.Empty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The country or region is typically represented by a two-letter ISO-3166 country code.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FloorLevel">
<MemberSignature Language="C#" Value="public string FloorLevel { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string FloorLevel" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.FloorLevel" />
<MemberSignature Language="VB.NET" Value="Public Property FloorLevel As String" />
<MemberSignature Language="F#" Value="member this.FloorLevel : string with get, set" Usage="System.Device.Location.CivicAddress.FloorLevel" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ FloorLevel { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the floor level of the location.</summary>
<value>A string that contains the floor level. If the data is not provided, returns <see cref="F:System.String.Empty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsUnknown">
<MemberSignature Language="C#" Value="public bool IsUnknown { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsUnknown" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.IsUnknown" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsUnknown As Boolean" />
<MemberSignature Language="F#" Value="member this.IsUnknown : bool" Usage="System.Device.Location.CivicAddress.IsUnknown" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool IsUnknown { bool get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the <see cref="T:System.Device.Location.CivicAddress" /> contains data.</summary>
<value>
<see langword="true" /> if the <see cref="T:System.Device.Location.CivicAddress" /> is equal to <see cref="F:System.Device.Location.CivicAddress.Unknown" />; otherwise, <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example uses <xref:System.Device.Location.CivicAddress.IsUnknown%2A> to check the <xref:System.Device.Location.CivicAddress> that is returned from <xref:System.Device.Location.CivicAddressResolver.ResolveAddress%2A> before the civic address is printed out.
:::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet2":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet2":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PostalCode">
<MemberSignature Language="C#" Value="public string PostalCode { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string PostalCode" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.PostalCode" />
<MemberSignature Language="VB.NET" Value="Public Property PostalCode As String" />
<MemberSignature Language="F#" Value="member this.PostalCode : string with get, set" Usage="System.Device.Location.CivicAddress.PostalCode" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ PostalCode { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the postal code of the location.</summary>
<value>The postal code of the location. If the data is not provided, returns <see cref="F:System.String.Empty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="StateProvince">
<MemberSignature Language="C#" Value="public string StateProvince { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string StateProvince" />
<MemberSignature Language="DocId" Value="P:System.Device.Location.CivicAddress.StateProvince" />
<MemberSignature Language="VB.NET" Value="Public Property StateProvince As String" />
<MemberSignature Language="F#" Value="member this.StateProvince : string with get, set" Usage="System.Device.Location.CivicAddress.StateProvince" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ StateProvince { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the state or province of the location.</summary>
<value>The state or province of the location. If the data is not provided, returns <see cref="F:System.String.Empty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Unknown">
<MemberSignature Language="C#" Value="public static readonly System.Device.Location.CivicAddress Unknown;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Device.Location.CivicAddress Unknown" />
<MemberSignature Language="DocId" Value="F:System.Device.Location.CivicAddress.Unknown" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Unknown As CivicAddress " />
<MemberSignature Language="F#" Value=" staticval mutable Unknown : System.Device.Location.CivicAddress" Usage="System.Device.Location.CivicAddress.Unknown" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Device::Location::CivicAddress ^ Unknown;" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Device</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Device.Location.CivicAddress</ReturnType>
</ReturnValue>
<Docs>
<summary>Represents a <see cref="T:System.Device.Location.CivicAddress" /> that contains no data.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use <xref:System.Device.Location.CivicAddress.IsUnknown%2A> to verify whether a <xref:System.Device.Location.CivicAddress> contains data.
## Examples
The following example uses <xref:System.Device.Location.CivicAddress.IsUnknown%2A> to check the <xref:System.Device.Location.CivicAddress> that is returned from <xref:System.Device.Location.CivicAddressResolver.ResolveAddress%2A> before the civic address is printed out.
:::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet2":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet2":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>