取得或設定要求訊息的 Slug 標頭值。
命名空間: System.Data.Services.Client
組件: Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)
語法
'宣告
Public Property Slug As String
Get
Set
'用途
Dim instance As DataServiceRequestArgs
Dim value As String
value = instance.Slug
instance.Slug = value
public string Slug { get; set; }
public:
property String^ Slug {
String^ get ();
void set (String^ value);
}
member Slug : string with get, set
function get Slug () : String
function set Slug (value : String)
屬性值
型別:System.String
值,是要求的 Slug 標頭。
備註
不會對 Slug 屬性的值執行任何驗證。 因此,請確認所提供的值是 HTTP Slug 標頭的有效值。