Retrieves setting information matching an identity and a configuration pass. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim id As Identity
Dim configurationPass As ConfigurationPass
Dim returnValue As AnswerFileComponentSetting
Dim answerFileComponentSettingCollection1 As AnswerFileComponentSettingCollection
returnValue = answerFileComponentSettingCollection1.FindAny(id, configurationPass)

Syntax

Visual Basic
Public Function FindAny( _
		ByVal id As Identity, _
		ByVal configurationPass As ConfigurationPass _
) As AnswerFileComponentSetting
C#
public AnswerFileComponentSetting FindAny(
		Identity id, 
		ConfigurationPass configurationPass
);
C++
public:
AnswerFileComponentSetting^ FindAny(
		Identity^ id,
		ConfigurationPass configurationPass
);
J#
public AnswerFileComponentSetting FindAny(
		Identity id, 
		ConfigurationPass configurationPass
);
JScript
public function FindAny(
		 id : Identity, 
		 configurationPass : ConfigurationPass
) : AnswerFileComponentSetting;

Parameters

id

Identity of the component

configurationPass

Configuration pass of the component

Return Value

A single instance of AnswerFileComponentSetting describing the setting information.

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