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.MakeObject

Use this to store a simple typed value, like Integer or String (or any other Object-derived type) or...UNDONE, stefanph: What's resourceName for?

[Visual Basic]
Public Shared Function MakeObject( _
   ByVal service As IServiceObjectProvider, _
   ByVal obj As Object, _
   ByVal resourceName As String, _
   ByVal objType As Type _
) As PropertyValue
[C#]
public static PropertyValue MakeObject(
   IServiceObjectProvider service,
   object obj,
   string resourceName,
   Type objType
);
[C++]
public: static PropertyValue* MakeObject(
   IServiceObjectProvider* service,
   Object* obj,
   String* resourceName,
   Type* objType
);
[JScript]
public static function MakeObject(
   service : IServiceObjectProvider,
   obj : Object,
   resourceName : String,
   objType : Type
) : PropertyValue;

Parameters

service
[To be supplied.]
obj
the value to store
resourceName
UNDONE, stefanph: What's this for?
objType
the type of that value

See Also

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