編輯

共用方式為


Control.ClientIDSeparator Property

Definition

Gets a character value representing the separator character used in the ClientID property.

protected:
 property char ClientIDSeparator { char get(); };
protected char ClientIDSeparator { get; }
member this.ClientIDSeparator : char
Protected ReadOnly Property ClientIDSeparator As Char

Property Value

Always returns the underscore character (_).

Remarks

The ClientID value is generated by concatenating the ID value of the control and the UniqueID value of its parent control. Each part of the generated ID property is separated by the ClientIDSeparator property value. The value always returns an underscore (_).

Applies to

See also