這個 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 命名空間