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 ().

適用於

另請參閱