Control.ClientIDSeparator 屬性

定義

取得字元值,表示在 ClientID 屬性中所使用的分隔字元。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

屬性值

永遠傳回底線字元 ()。Always returns the underscore character ().

備註

ClientID 值是藉由串連控制項的 ID 值和其父控制項的 UniqueID 值所產生。The ClientID value is generated by concatenating the ID value of the control and the UniqueID value of its parent control. 產生的 ID 屬性的每個部分都是以 ClientIDSeparator 屬性值分隔。Each part of the generated ID property is separated by the ClientIDSeparator property value. 值一律會傳回底線()。The value always returns an underscore ().

適用於

另請參閱