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

Gets the components persisted in the specified code, up to the specified maximum number of components.

[Visual Basic]
Function GetComponentsFromCode( _
   ByVal code As String, _
   ByVal maxComponents As Integer _
) As IComponent ()
[C#]
IComponent[] GetComponentsFromCode(
   string code,
   int maxComponents
);
[C++]
IComponent* GetComponentsFromCode(
   String* code,
   int maxComponents
) [] = 0;
[JScript]
function GetComponentsFromCode(
   code : String,
   maxComponents : int
) : IComponent[];

Parameters

code
The code to build components from.
maxComponents
[To be supplied.]

Return Value

An array of type IComponent containing the components rebuilt from the specified code.

See Also

IComponentCodePersistanceService Interface | IComponentCodePersistanceService Members | System.ComponentModel.Design Namespace | IComponent