Skip to content

Latest commit

 

History

History
107 lines (67 loc) · 2.42 KB

platform-mtathreadattribute-class.md

File metadata and controls

107 lines (67 loc) · 2.42 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords ms.assetid
Learn more about: Platform::MTAThreadAttribute Class
Platform::MTAThreadAttribute Class
12/30/2016
reference
VCCORLIB/Platform::MTAThreadAttribute::Equals
VCCORLIB/Platform::MTAThreadAttribute::GetHashCode
VCCORLIB/Platform::MTAThreadAttribute::ToString
Platform::MTAThreadAttribute Class
bfc546a7-4333-4407-85b4-4721565e1f44

Platform::MTAThreadAttribute Class

Indicates that the threading model for an application is multi-threaded apartment (MTA).

Syntax

public ref class MTAThreadAttribute sealed : Attribute

Members

Public Constructors

Name Description
MTAThreadAttribute Constructor 1 constructor Initializes a new instance of the class.

Public Methods

The MTAThreadAttribute attribute inherits from Platform::Object Class. MTAThreadAttribute also overloads or has the following members:

Name Description
MTAThreadAttribute::Equals Determines whether the specified object is equal to the current object.
MTAThreadAttribute::GetHashCode Returns the hash code for this instance.
MTAThreadAttribute::ToString Returns a string that represents the current object.

Inheritance Hierarchy

Platform

Requirements

Metadata: platform.winmd

Namespace: Platform

MTAThreadAttribute Constructor

Initializes a new instance of the MTAThreadAttribute class.

Syntax

public:MTAThreadAttribute();

MTAThreadAttribute::Equals

Determines whether the specified object is equal to the current object.

Syntax

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

Parameters

obj
The object to compare.

Return Value

true if the objects are equal; otherwise, false.

MTAThreadAttribute::GetHashCode

Returns the hash code for this instance.

Syntax

public:int GetHashCode();

Return Value

The hash code for this instance.

MTAThreadAttribute::ToString

Returns a string that represents the current object.

Syntax

public:String^ ToString();

Return Value

A string that represents the current object.

See also

Platform Namespace