NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PropertyValue.MakeNewObject

Use this to store an object whose constructor argument types and values are known (typically gotten from an object through a CreationBundle).

[Visual Basic]
Public Shared Function MakeNewObject( _
   ByVal service As IServiceObjectProvider, _
   ByVal name As String, _
   ByVal method As String, _
   ByVal args() As PropertyValue _
) As PropertyValue
[C#]
public static PropertyValue MakeNewObject(
   IServiceObjectProvider service,
   string name,
   string method,
   PropertyValue[] args
);
[C++]
public: static PropertyValue* MakeNewObject(
   IServiceObjectProvider* service,
   String* name,
   String* method,
   PropertyValue* args[]
);
[JScript]
public static function MakeNewObject(
   service : IServiceObjectProvider,
   name : String,
   method : String,
   args : PropertyValue[]
) : PropertyValue;

Parameters

service
[To be supplied.]
name
the name of the contstructor (the object's type name)
method
[To be supplied.]
args
PropertyValue's representing type and value of all constructor arguments

See Also

PropertyValue Class | PropertyValue Members | System.ComponentModel.Design Namespace