編輯

共用方式為


Validation.AlertStyle Property

Definition

Returns the validation alert style. Read-only XlDVAlertStyle.

public:
 property int AlertStyle { int get(); };
public int AlertStyle { get; }
Public ReadOnly Property AlertStyle As Integer

Property Value

Remarks

Use the Add(XlDVType, Object, Object, Object, Object) method to set the alert style for a range. If the range already has data validation, use the Modify(Object, Object, Object, Object, Object) method to change the alert style.

Applies to