Creates or retrieves an instance of
AnswerFileComponentSetting for a component and prepares the
component for adding setting overrides to the specified
configuration pass.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim identity As Identity
Dim configurationPass As ConfigurationPass
Dim createOption As CreateOptions
Dim returnValue As AnswerFileComponentSetting
Dim answerFileComponentSettingCollection1 As AnswerFileComponentSettingCollection
returnValue = answerFileComponentSettingCollection1.Create(identity, configurationPass, createOption)
|
Syntax
Parameters
- identity
-
Identity of the component
- configurationPass
-
Configuration pass of the component
- createOption
-
The enumeration element that determines whether to return the
existing entity or throw an exception when an entity already
exists.
Return Value
An instance of
AnswerFileComponentSetting.
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 XP Home Edition, Windows XP Professional, Windows Server
2003, Windows Vista, and Windows 2000
Target Platforms
See Also