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

屬性值

Char

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

備註

ClientID 值是藉由串連 ID 控制項的值和其父控制項的值所產生 UniqueIDThe 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 ().

適用於

另請參閱