NetworkInterfaceMessageProperty 類別

定義

表示網路介面訊息屬性。Represents a network interface message property.

public ref class NetworkInterfaceMessageProperty
public class NetworkInterfaceMessageProperty
type NetworkInterfaceMessageProperty = class
Public Class NetworkInterfaceMessageProperty
繼承
NetworkInterfaceMessageProperty

建構函式

NetworkInterfaceMessageProperty(Int32)

使用指定的 interfaceIndex,初始化 NetworkInterfaceMessageProperty 類別的新執行個體。Initializes a new instance of the NetworkInterfaceMessageProperty class using a specified interfaceIndex.

屬性

InterfaceIndex

取得值,指定訊息屬性的介面索引。Gets the value that specifies the interface index for the message property.

Name

取得網路介面訊息屬性的指定名稱。Gets the specified name for the network interface message property.

方法

AddTo(Message)

指定要新增到訊息屬性中的訊息。Specifies a message to add into the message properties.

AddTo(MessageProperties)

指定要新增到訊息屬性中的屬性。Specifies a property to add into the message properties.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)
TryGet(Message, NetworkInterfaceMessageProperty)

嘗試從指定訊息的屬性取得 NetworkInterfaceMessageProperty。Attempts to get the NetworkInterfaceMessageProperty from the properties of a specified message.

TryGet(MessageProperties, NetworkInterfaceMessageProperty)

嘗試從指定的訊息屬性集合取得 NetworkInterfaceMessageProperty。Attempts to get the NetworkInterfaceMessageProperty from a specified collection of message properties.

適用於