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!

IComponentCodePersistanceService.GetCodeFromComponents (IComponent[], Int32, Int32)

Gets code that persists the specified components.

[Visual Basic]
Overloads Function GetCodeFromComponents( _
   ByVal components() As IComponent, _
   ByVal xLocationOffset As Integer, _
   ByVal yLocationOffset As Integer _
) As String
[C#]
string GetCodeFromComponents(
   IComponent[] components,
   int xLocationOffset,
   int yLocationOffset
);
[C++]
String* GetCodeFromComponents(
   IComponent* components[],
   int xLocationOffset,
   int yLocationOffset
) = 0;
[JScript]
function GetCodeFromComponents(
   components : IComponent[],
   xLocationOffset : int,
   yLocationOffset : int
) : String;

Parameters

components
An array of type IComponent that indicates the components to return code to represent.
xLocationOffset
[To be supplied.]
yLocationOffset
[To be supplied.]

Return Value

Code that persists the specified components.

See Also

IComponentCodePersistanceService Interface | IComponentCodePersistanceService Members | System.ComponentModel.Design Namespace | IComponentCodePersistanceService.GetCodeFromComponents Overload List | IComponent