HeaderDictionaryExtensions.GetCommaSeparatedValues 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中获取关联的值,这些值已分隔成独立的值。 加引号的值不会拆分,并且将删除引号。
public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::String ^> ^ GetCommaSeparatedValues(Microsoft::AspNetCore::Http::IHeaderDictionary ^ headers, System::String ^ key);
	public static string[] GetCommaSeparatedValues(this Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key);
	static member GetCommaSeparatedValues : Microsoft.AspNetCore.Http.IHeaderDictionary * string -> string[]
	<Extension()>
Public Function GetCommaSeparatedValues (headers As IHeaderDictionary, key As String) As String()
	参数
- headers
 - IHeaderDictionary
 
要使用的 IHeaderDictionary。
- key
 - String
 
标头名称。
返回
		String[]
		
	
	集合中的关联值分隔为单个值;如果键不存在,则为 StringValues.Empty。