Platform::STAThreadAttribute 클래스

애플리케이션에 대한 스레딩 모델이 STA(단일 스레드 아파트)임을 나타냅니다.

구문

public ref class STAThreadAttribute sealed : Attribute

멤버

공용 생성자

속성 설명
STAThreadAttribute 생성자 1 클래스의 새 인스턴스를 초기화합니다.

공용 메서드

STAThreadAttribute 특성은 Platform::Object 클래스에서 상속됩니다. STAThreadAttribute도 다음 멤버를 오버로드하거나 포함합니다.

이름 설명
STAThreadAttribute::Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다.
STAThreadAttribute::GetHashCode 이 인스턴스의 해시 코드를 반환합니다.
STAThreadAttribute::ToString 현재 개체를 나타내는 문자열을 반환합니다.

상속 계층 구조

Platform

요구 사항

헤더: collection.h

네임스페이스: Platform

STAThreadAttribute 생성자

STAThreadAttribute 클래스의 새 인스턴스를 초기화합니다.

구문

public:STAThreadAttribute();

STAThreadAttribute::Equals

지정한 개체와 현재 개체가 같은지 여부를 확인합니다.

구문

public:virtual override bool Equals( Object^ obj );

매개 변수

obj
비교할 개체입니다.

Return Value

개체가 동일하면 true이고, 그렇지 않으면 false입니다.

STAThreadAttribute::GetHashCode

이 인스턴스의 해시 코드를 반환합니다.

구문

public:int GetHashCode();

Return Value

이 인스턴스의 해시 코드입니다.

STAThreadAttribute::ToString

현재 개체를 나타내는 문자열을 반환합니다.

구문

public:String^ ToString();

Return Value

현재 개체를 나타내는 문자열입니다.

참고 항목

플랫폼 네임스페이스