SetCookieHeaderValue Class¶
- Namespace
Microsoft.Net.Http.Headers- Assemblies
- Microsoft.Net.Http.Headers
Constructors¶
-
SetCookieHeaderValue(System.String)¶ public SetCookieHeaderValue(string name)
-
SetCookieHeaderValue(System.String, System.String) public SetCookieHeaderValue(string name, string value)
-
Methods¶
-
AppendToStringBuilder(System.Text.StringBuilder)¶ Append string representation of this
Microsoft.Net.Http.Headers.SetCookieHeaderValueto given <em>builder</em>.Arguments: builder (System.Text.StringBuilder) – The System.Text.StringBuilderto receive the string representation of thisMicrosoft.Net.Http.Headers.SetCookieHeaderValue.public void AppendToStringBuilder(StringBuilder builder)
-
Equals(System.Object)¶ Return type: System.Boolean public override bool Equals(object obj)
-
GetHashCode()¶ Return type: System.Int32 public override int GetHashCode()
-
Parse(System.String)¶ Return type: Microsoft.Net.Http.Headers.SetCookieHeaderValue public static SetCookieHeaderValue Parse(string input)
-
ParseList(System.Collections.Generic.IList<System.String>)¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.SetCookieHeaderValue> public static IList<SetCookieHeaderValue> ParseList(IList<string> inputs)
-
ParseStrictList(System.Collections.Generic.IList<System.String>)¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.SetCookieHeaderValue> public static IList<SetCookieHeaderValue> ParseStrictList(IList<string> inputs)
-
ToString()¶ Return type: System.String public override string ToString()
-
TryParse(System.String, out Microsoft.Net.Http.Headers.SetCookieHeaderValue)¶ Return type: System.Boolean public static bool TryParse(string input, out SetCookieHeaderValue parsedValue)
-
TryParseList(System.Collections.Generic.IList<System.String>, out System.Collections.Generic.IList<Microsoft.Net.Http.Headers.SetCookieHeaderValue>)¶ Return type: System.Boolean public static bool TryParseList(IList<string> inputs, out IList<SetCookieHeaderValue> parsedValues)
-
TryParseStrictList(System.Collections.Generic.IList<System.String>, out System.Collections.Generic.IList<Microsoft.Net.Http.Headers.SetCookieHeaderValue>)¶ Return type: System.Boolean public static bool TryParseStrictList(IList<string> inputs, out IList<SetCookieHeaderValue> parsedValues)
-
Properties¶
-
Microsoft.Net.Http.Headers.SetCookieHeaderValue.Domain¶ Return type: System.String public string Domain { get; set; }
-
Microsoft.Net.Http.Headers.SetCookieHeaderValue.Expires¶ Return type: System.Nullable<System.DateTimeOffset> public DateTimeOffset? Expires { get; set; }
-
Microsoft.Net.Http.Headers.SetCookieHeaderValue.HttpOnly¶ Return type: System.Boolean public bool HttpOnly { get; set; }
-
Microsoft.Net.Http.Headers.SetCookieHeaderValue.MaxAge¶ Return type: System.Nullable<System.TimeSpan> public TimeSpan? MaxAge { get; set; }
-
Microsoft.Net.Http.Headers.SetCookieHeaderValue.Name¶ Return type: System.String public string Name { get; set; }
-
Microsoft.Net.Http.Headers.SetCookieHeaderValue.Path¶ Return type: System.String public string Path { get; set; }
-
Microsoft.Net.Http.Headers.SetCookieHeaderValue.Secure¶ Return type: System.Boolean public bool Secure { get; set; }
-
Microsoft.Net.Http.Headers.SetCookieHeaderValue.Value¶ Return type: System.String public string Value { get; set; }
-