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

注解

值是通过ID串联控件的值和其父控件的UniqueID值生成的。 ClientIDThe 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 ().

适用于

另请参阅