Control.ClientIDSeparator Control.ClientIDSeparator Control.ClientIDSeparator Control.ClientIDSeparator Property

定義

取得字元值,表示在 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 ().

適用於

另請參閱