다음을 통해 공유


PlayReadyHeader.GetAttribute 메서드

정의

오버로드

GetAttribute(Int32)

지정된 인덱스에서 특성을 가져옵니다.

GetAttribute(String)

지정된 이름이 있는 특성을 가져옵니다.

GetAttribute(Int32)

지정된 인덱스에서 특성을 가져옵니다.

public Microsoft.Media.Drm.PlayReadyHeaderAttribute GetAttribute (int index);
member this.GetAttribute : int -> Microsoft.Media.Drm.PlayReadyHeaderAttribute
Public Function GetAttribute (index As Integer) As PlayReadyHeaderAttribute

매개 변수

index
Int32

가져올 특성의 인덱스입니다.

반환

지정한 인덱스에 있는 PlayReadyHeaderAttribute입니다.

예외

index 0보다 작거나 보다 크거나 같은 경우 AttributeCount

적용 대상

GetAttribute(String)

지정된 이름이 있는 특성을 가져옵니다.

public Microsoft.Media.Drm.PlayReadyHeaderAttribute GetAttribute (string name);
member this.GetAttribute : string -> Microsoft.Media.Drm.PlayReadyHeaderAttribute
Public Function GetAttribute (name As String) As PlayReadyHeaderAttribute

매개 변수

name
String

특성의 이름입니다.

반환

PlayReadyHeaderAttribute 특성이 없는 경우 헤더 또는 null의 입니다.

적용 대상