此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Validates the enumeration property using the specified component and value.
命名空间: Microsoft.ReportingServices.RdlObjectModel
程序集: Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)
语法
声明
Public Sub Validate ( _
component As Object, _
value As Integer _
)
用法
Dim instance As EnumProperty
Dim component As Object
Dim value As Integer
instance.Validate(component, value)
public void Validate(
Object component,
int value
)
public:
void Validate(
Object^ component,
int value
)
member Validate :
component:Object *
value:int -> unit
public function Validate(
component : Object,
value : int
)
参数
- component
类型:System.Object
The component of the enumeration property.
- value
类型:System.Int32
The value of the enumeration property.