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

적용 대상