PropertyInfo 构造函数 (String, Object, Type, Boolean)
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
程序集: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)
语法
声明
Public Sub New ( _
propertyName As String, _
propertyValue As Object, _
type As Type, _
isPrimitive As Boolean _
)
public PropertyInfo(
string propertyName,
Object propertyValue,
Type type,
bool isPrimitive
)
public:
PropertyInfo(
String^ propertyName,
Object^ propertyValue,
Type^ type,
bool isPrimitive
)
new :
propertyName:string *
propertyValue:Object *
type:Type *
isPrimitive:bool -> PropertyInfo
public function PropertyInfo(
propertyName : String,
propertyValue : Object,
type : Type,
isPrimitive : boolean
)
参数
- propertyName
类型:System.String
- propertyValue
类型:System.Object
- type
类型:System.Type
- isPrimitive
类型:System.Boolean
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight 命名空间