Partilhar via


SmsCustomDialog.Initialize Method

Initializes the custom dialog box when called by the dialog box framework before the framework is launched.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As SmsCustomDialog
Dim assembly As Assembly
Dim propertySheet As SmsFormData
Dim pageData As SmsPageData
Dim returnValue As Boolean

returnValue = instance.Initialize(assembly, propertySheet, pageData)

Syntax

'Declaration
Public Overridable Function Initialize ( _
    assembly As Assembly, _
    propertySheet As SmsFormData, _
    pageData As SmsPageData _
) As Boolean
public virtual bool Initialize (
    Assembly assembly,
    SmsFormData propertySheet,
    SmsPageData pageData
)
public:
virtual bool Initialize (
    Assembly^ assembly, 
    SmsFormData^ propertySheet, 
    SmsPageData^ pageData
)
public boolean Initialize (
    Assembly assembly, 
    SmsFormData propertySheet, 
    SmsPageData pageData
)
public function Initialize (
    assembly : Assembly, 
    propertySheet : SmsFormData, 
    pageData : SmsPageData
) : boolean

Parameters

  • assembly
    [in] System.Reflection.Assembly object that represents the assembly for the dialog box.
  • propertySheet
    [in] SmsFormData object for the property sheet.

Return Value

true if the dialog box is initialized; otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsCustomDialog Class
SmsCustomDialog Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
SmsFormData
SmsPageData