UniqueId.TryGetGuid 메서드

정의

로 값을 UniqueIdGuid가져오려고 시도합니다.

오버로드

Name Description
TryGetGuid(Guid)

로 값을 UniqueIdGuid가져오려고 시도합니다.

TryGetGuid(Byte[], Int32)

as UniqueId 의 값을 Guid 가져와 지정된 오프셋의 지정된 바이트 배열에 저장하려고 시도합니다.

TryGetGuid(Guid)

Source:
UniqueId.cs
Source:
UniqueId.cs
Source:
UniqueId.cs
Source:
UniqueId.cs
Source:
UniqueId.cs

로 값을 UniqueIdGuid가져오려고 시도합니다.

public:
 bool TryGetGuid([Runtime::InteropServices::Out] Guid % guid);
public bool TryGetGuid(out Guid guid);
member this.TryGetGuid : Guid -> bool
Public Function TryGetGuid (ByRef guid As Guid) As Boolean

매개 변수

guid
Guid

이 메서드가 반환되면 성공하면 포함됩니다. Guid 그렇지 않으면 Empty.

반품

UniqueId가 a를 나타내면 고, 그렇지 않으면 .입니다.

적용 대상

TryGetGuid(Byte[], Int32)

Source:
UniqueId.cs
Source:
UniqueId.cs
Source:
UniqueId.cs
Source:
UniqueId.cs
Source:
UniqueId.cs

as UniqueId 의 값을 Guid 가져와 지정된 오프셋의 지정된 바이트 배열에 저장하려고 시도합니다.

public:
 bool TryGetGuid(cli::array <System::Byte> ^ buffer, int offset);
public bool TryGetGuid(byte[] buffer, int offset);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
public bool TryGetGuid(byte[] buffer, int offset);
member this.TryGetGuid : byte[] * int -> bool
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
member this.TryGetGuid : byte[] * int -> bool
Public Function TryGetGuid (buffer As Byte(), offset As Integer) As Boolean

매개 변수

buffer
Byte[]

byte 를 포함할 배열입니다 Guid.

offset
Int32

배열의 byte 위치를 지정하여 값 삽입을 시작합니다 Guid .

반품

이 인스턴스 에 저장된 값이 a이면 고, 그렇지 않으면 .입니다.

특성

예외

buffernull입니다.

offset 0보다 작거나 배열의 길이보다 큽니다.

buffer 16 offset 개 미만의 유효한 바이트를 제공합니다.

설명

이 메서드는 .입니다 unsafe.

적용 대상