The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
PrivateType::SetStaticFieldOrProperty Method (String^, BindingFlags, Object^)
Sets a static field or property contained in the wrapped type.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
public: void SetStaticFieldOrProperty( String^ name, BindingFlags bindingFlags, Object^ value )
Parameters
- name
-
Type:
System::String^
The name of the static field or property.
- invokeAttr
A bitmask comprised of one or more BindingFlags that specifies how the search for the static field or property is conducted. The type of lookup need not be specified.
The default values are SetField, SetProperty, and Static.
- value
-
Type:
System::Object^
The value to set to the static field or property.
Important |
|---|
This is important for Visual Basic source code because fields and properties are used the same way. |
Show:
