SecurityKeyIdentifierClause.Id 属性

定义

获取或设置密钥标识符子句 ID。Gets or sets the key identifier clause ID.

public:
 property System::String ^ Id { System::String ^ get(); void set(System::String ^ value); };
public string Id { get; set; }
member this.Id : string with get, set
Public Property Id As String

属性值

String

密钥标识符子句 ID。The key identifier clause ID. 默认值为 nullThe default is null.

注解

如果将此安全密钥标识符序列化为 XML,则 Id 会将属性序列化为 Id 元素的属性 <SecurityTokenReference>When this security key identifier is serialized into XML, the Id property is serialized as the Id attribute of the <SecurityTokenReference> element. 如果属性为 null ,则 Id 元素中不包含特性 <SecurityTokenReference>If the property is null, an Id attribute is not included in the <SecurityTokenReference> element.

适用于