Microsoft.Protocols.TestSuites.MS_OXCROPS.TestSuiteBase.GetStatePropertyByIds C# (CSharp) 메소드

GetStatePropertyByIds() 보호된 메소드

Initialize StateProperty from property id and property type id.
protected GetStatePropertyByIds ( ushort propertyId, ushort propertyTypeId ) : uint
propertyId ushort Property id
propertyTypeId ushort Property type id
리턴 uint
        protected uint GetStatePropertyByIds(ushort propertyId, ushort propertyTypeId)
        {
            // propertyId and propertyTypId should be joined up. So propertyId should be move left 16 positions for propertyTypeID.
            return (uint)((propertyId << 16) | propertyTypeId);
        }