EditorOptionAttribute.TryGetOptionValue(IEnumerable, String, Object) 메서드

정의

컬렉션이 특정 특성을 포함하고 특성 값을 반환하는지 여부를 확인합니다.

public:
 static bool TryGetOptionValue(System::Collections::IEnumerable ^ attributes, System::String ^ optionName, [Runtime::InteropServices::Out] System::Object ^ % optionValue);
public static bool TryGetOptionValue (System.Collections.IEnumerable attributes, string optionName, out object optionValue);
static member TryGetOptionValue : System.Collections.IEnumerable * string * obj -> bool
Public Shared Function TryGetOptionValue (attributes As IEnumerable, optionName As String, ByRef optionValue As Object) As Boolean

매개 변수

attributes
IEnumerable

특성 컬렉션입니다.

optionName
String

확인할 특성의 이름입니다.

optionValue
Object

이 메서드가 반환될 때 특성 값을 포함합니다. 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반환

지정된 특성이 해당 컬렉션에 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상