Sets the supplied nodes with the appropriate values from the property page.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Sub SetObjects ( _
count As UInteger, _
punk As Object() _
)
'使用
Dim instance As SettingsPage
Dim count As UInteger
Dim punk As Object()
instance.SetObjects(count, punk)
public virtual void SetObjects(
uint count,
Object[] punk
)
public:
virtual void SetObjects(
unsigned int count,
array<Object^>^ punk
)
public function SetObjects(
count : uint,
punk : Object[]
)
Parameters
count
Type: System.UInt32The number of nodes in the array.
punk
Type: []An array of objects representing the nodes to be updated.
Implements
IPropertyPage.SetObjects(UInt32, [])
Remarks
The caller must provide the property page with these objects before calling Activate, and should call this method with 0 as the count parameter when deactivating the page or when releasing the object entirely. Each call to this method with a non-a null reference (Nothing in Visual Basic)punk parameter must be matched with a later call to this method with 0 in the cObjects parameter.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.